Htaccess

a)                 References

b)                 Non-www to www and reverse

  1. ohttp://dense13.com/blog/2008/02/27/redirecting-non-www-to-www-with-htaccess/
  2. ohttp://www.stepforth.com/resources/web-marketing-knowledgebase/non-www-redirect/#.TyM0klz9NEJ
  3. ohttp://www.htaccessbasics.com/force-www-nonwww-domain/
  4. ohttp://www.toolboxcreations.com/articles/tips-and-tricks/32-setting-up-301-redirects-from-www-to-non-www
  • §Preferred approach – lose the www and put in .htaccess a preferred redirect from www to non-www
  • For Joomla sites use Akeeba AdminTools to manage
    1. oAdd in Joomla default htaccess file’s Custom Redirects section – and replace domainname and if necessary com

Rewritecond %{https} = off – not sure if this is necessary for me at this stage
RewriteCond %{HTTP_HOST} !^domainname\.com$
RewriteRule ^(.*)$ http://domainname.com%{REQUEST_URI} [R=301,L]