• Published in Blog

SEO TIP 1. URL Canonicalisation

Here is a simple SEO tip i would like to share with you:

Having more than one URL for the same content can have a negative effect on your websites search result and SEO ranking. URL Canonicalisation deals with this SEO issue by using URL redirection to point all the web traffic to either www or non-www URLs.

You can solve this issue for your Joomla site by editing the ".htaccess" file in your root web directory.

Redirect www to non-www:

RewriteEngine On

RewriteCond %{HTTP_HOST} ^www\.myjoomlasite\.com$ [NC]

RewriteRule ^(.*)$ http://myjoomlasite.com/$1 [L,R=301]

or Redirect non-www to www:

RewriteEngine On

RewriteCond %{HTTP_HOST} !^www\.myjoomlasite\.com$ [NC]

RewriteRule ^(.*)$ http://www.myjoomlasite.com/$1 [L,R=301]

As an alternative you can use the SEO Canonincalization Plugin from the JED

Subscribe to this RSS feed