Forum Moderators: phranque
I have recently launched a website and from an SEO perspective I wanted to force all references to site to include 'www.'.
Based on several posts I've seen, I've used the following in the .htaccess file in the root directory:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^tuscanyholidays-example\.com
RewriteRule ^(.*)$ [tuscanyholidays-example.com...] [R=permanent,L]
This work fine in terms of redirecting 'tuscanyholidays-example.com' but when I now try to launch the Wordpress blog I have in subdirectory 'blog', it doesn't work. In other words 'www.tuscanyholidays-example.com/blog/' just gives me an 'Internet explorer cannot display the page' message. If I delete the .htaccess file and Refresh the browser page the blog shows correctly.
Can anyone please help with this?
Andy
wordpress+canocial [google.com]