( Resolved )Duplicate url's? - Joomla! Forum - community, help and support


my site responds 2 different url's? website responds following urls (statuscode / url):
http status 200: http://[spam].website
http status 200: http://www.[spam].website

is bad , if so, how fix issue? thank you, sean

if use apache, edit .htacces file force either www or not

use 1 of following

code: select all

# force www
rewriteengine on
rewritecond %{http_host} ^example.com [nc]
rewriterule ^(.*)$ http://www.example.com/$1 [r=301,nc]

# remove www
rewriteengine on
rewritecond %{http_host} ^www.example.com$ [nc]
rewriterule ^(.*)$ http://example.com/$1 [r=301,l]





Comments

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

2.5.28 to 3.4.1---Download of update package failed - Joomla! Forum - community, help and support

Your host needs to use PHP 5.3.10 or higher to run this vers - Joomla! Forum - community, help and support