Home and index.html isted as duplicate page
-
Hello,
www.mountain-solutions.net and www.mountain-solutions.net/index.html are listed under an error for having a duplicate page. They are in fact the same page. I'm wondering how I can remedy this.
Thanks
-
use 301 httacces redirect, or cannonical tag
-
It's also worth pointing out that www.mountain-solutions.net and mountain-solutions.net also resolve separately so may also be seen as duplicates (this is often referred to as a canonical error).
The process is exactly the same as Cocarcea Ion mentioned, just use a 301 redirection in your .htaccess file if you have access to it.
This site may well help: http://www.websitetodos.com/list/websitetodos/webserver/canonicalnameredirect/canonicalredirect-apache
-
Yes, this is a pretty common problem. You'll want to add a tag just before the area of your index.html file that looks like this:
rel="canonical" href="http://mountain-solutions.net" />
Or, if you want to focus on the www verson and not the non www version:
rel="canonical" href="http://www.mountain-solutions.net" />
-
We are using Canonical URL's to avoid the issue
-
Tompt has the poit it is recomended to use 301 redirection to avoid problems with canonical tag just make a search in discutions and you'll see some results abbout cannonical tags but if you are carefull it will work fine
-
Hi Ben,
Do you need any more advice on implementing this, or are you good?