( 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

uppercase letters in url - Joomla! Forum - community, help and support

Joomla! Update is not offering Joomla 3 - Joomla! Forum - community, help and support