One of the first things you should set up when putting together a Joomla website is a redirect instruction in the .htaccess file.
The purpose of this instruction is to redirect www.mysite.com URL's to mysite.com. This ensures that SEO and anyone copying a link to your site will always use the same URL of http://mysite.com. This is also especially important when accumulating Facebook 'Likes' as they will accumulate from one URL address rather than two.
The purpose of this instruction is to redirect www.mysite.com URL's to mysite.com. This ensures that SEO and anyone copying a link to your site will always use the same URL of http://mysite.com. This is also especially important when accumulating Facebook 'Likes' as they will accumulate from one URL address rather than two.
RewriteEngine On
RewriteCond %{HTTP_HOST} !^mysite\.com
RewriteRule (.*) http://mysite.com/$1 [R=301,L]
No comments:
Post a Comment