logo
logo

websites

All the posts published

How to Change the Colour of Address Bar in Chrome Mobile Browser to match your website: Just add the following between your <head></head> tags (for WP this in your header.php) <meta name=”theme-color” content=”#1f4f73″> Don’t forget to clear your cache.

Simple IIS rewrite to redirect all non-SSL and non-www traffic in a single URL rule, just place in the web.config: <rewrite> <rules> <rule name=”Force WWW and SSL” enabled=”true” stopProcessing=”true”> <match url=”(.*)” /> <conditions logicalGrouping=”MatchAny”> <add input=”{HTTP_HOST}” pattern=”^[^www]” /> <add input=”{HTTPS}” pattern=”off” /> </conditions> <action type=”Redirect” url=”https://FQDN/{R:1}” appendQueryString=”true” redirectType=”Permanent” /> </rule> </rules> </rewrite> ** Note you need the module installed first, reload IIS after installation. https://www.iis.net/downloads/microsoft/url-rewrite

For NGINX/Apache hosts: RewriteEngine On RewriteBase / RewriteCond %{HTTPS} !=on RewriteCond %{SERVER_PORT} ^80 RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] RewriteRule ^index\.php$ – [L] Best done with a plugin on CMS/WP sites!

For more details go here: virtuallyGhetto Or skip to the fix we used, download the latest (beta) flash client and uninstaller here. Run the uninstaller (bottom of page link), then run the installer, restart chrome and tada! * In summary, Google published a newer version of Flash with the latest Chrome update, which does not play nicely with many flash based websites.

Vesta control panel use main sites SSL cert Here is how to re-use your site SSL for both the site and the Vesta control panel. If you are using Letsencrypt then both the site and the CP will use the auto renewed SSL cert. * This assumes Nginx front end with an Apache backend and you have already enabled Letsencrypt on your main website. Backup the old CP SSl files: …

Read More →

Assuming a single site Apache host, the following should get you SSL’d Get the package: sudo apt-get update sudo apt-get install python-letsencrypt-apache Setup the SSL Cert: sudo letsencrypt –apache -d track.datacentremonkey.com ( For multiple domains: sudo letsencrypt –apache -d example.com -d www.example.com) Test your SSL: https://track.datacentremonkey.com Done! Manual Renewal: sudo letsencrypt renew Auto Renewal: Add the following to your crontab, to check every Monday at 1am: 00 1 * * …

Read More →

Sometimes it’s the little things… Force browsers to use your shiny new favicon. <– add ?v=2 to favicon –> <link rel=“shortcut icon“ href=“/favicon.ico?v=2“>

websites | Cloud Monkey