Originally Posted by
stanislawl
Hello Anthony,
I have made some tests and... the problem is not in a browser, but in domain(s).
<snip>
So it seems to me it is not an error in the code, but something wrong with my website (domain?) configuration.
Best regards,
Stan
Thank you for your tests. I would say the error is on both our ends. When I have time I will look into the code and see if I can make it work correctly in this case.
In the meantime however the general consensus is that is it better to serve all your links off either www or non-www but not both to avoid duplicate content with the search engines. This can be achieved easily by modifying your .htaccess file.
This is the how you redirect all non www to www:
Code:
RewriteCond %{HTTP_HOST} ^yourdomain.com
RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L]
Thanks again for troubleshooting. I will try to fix the domain problems in the code as soon as possible.
Anthony
Bookmarks