Quick reminders

301 redirect all non-www to www using rack rewrite

It took me quite a while to find a way to 301 redirect all my non-www urls to www urls. So I decided to create another quick reminder in case I need this code again in the future… But firstly,…

Best SEO tip

The best SEO tip we’ve ever been given was to install a plugin called Yoast SEO plugin for websites running on wordpress. We’re not the best at SEO here in the office as we focus mainly on IT Support. But…

301 Redirect non-www to www

Simply copy and paste the code below in an existing .htaccess file at the root of your domain RewriteEngine On RewriteCond %{HTTP_HOST} ^example.com RewriteRule (.*) http://www.example.com/$1 [R=301,L] Then replace “example.com” on both lines with your domain name 301 Redirect non-www…

Startup Postgres on Mac

For some reason I always seem to encounter issues when restarting my mac to have Postgres starting up automatically. Sometimes it works fine and sometimes I have to start it up myself manually. And because I don’t know the code…


IT Support Newcastle is brought to you by Transcendit Ltd, contact us on 0191 482 0444