Duplicate Page Content and Titles
-
A few weeks ago my error count went up for Duplicate Page Content and Titles. 4 errors in all. A week later the errors were gone...
But now they are back. I made changes to the Webconfig over a month ago but nothing since.
SEOmoz is telling me the duplicate content is this
http://www.antiquebanknotes.com/ and http://www.antiquebanknotes.com
Thanks for any advise!
This is the relevant web.config.
<rewrite><rules><rule name="CanonicalHostNameRule1"><match url="(.*)"><conditions><add input="{HTTP_HOST}" pattern="^www.antiquebanknotes.com$" negate="true"></add></conditions>
<action type="Redirect" url="<a href=" http:="" www.antiquebanknotes.com="" {r:1"="">http://www.antiquebanknotes.com/{R:1}" />
</action></match></rule>
<rule name="Default Page" enabled="true" stopprocessing="true"><match url="^default.aspx$"><conditions logicalgrouping="MatchAll"><add input="{REQUEST_METHOD}" pattern="GET"></add></conditions>
<action type="Redirect" url="/"></action></match></rule></rules></rewrite> -
Greg,
Given that I almost sent you how to in Apache....I hope this helps it is from:http://www.tugberkugurlu.com/archive/remove-trailing-slash-from-the-urls-of-your-asp-net-web-site-with-iis-7-url-rewrite-moduleFull disclosure is I am not an asp.net guy but I saw you are using it with IIS7 and this is all about it. Hope it helps. The code is about 2/3rds down.
Hope it helps.
-
Hi Robert,
I added that rule but oddly it doesn't seem to work for me... The expression looks good so I don't know what to think... maybe one of my other rules is getting in the way.
Thanks for the link!
-
I will PM someone who is all over asp.net and have him look at question. He will know answer.
-
Hi Greg,
This is Megan from the SEOmoz help team. Sorry for the delayed response! We actually recently released a new crawler that was causing this duplicate content bug. We were switching crawls between our new crawler and old crawler (which didn't have the duplicate content bug), which is why this error disappeared for a bit, but then returned. The good news is that this bug has been fixed, so you shouldn't have this error show up on your future crawls!
Please let us know if you have any other questions or issues with our software by sending a message to help@seomoz.org.
Cheers,
Megan
-
Thanks for the follow up Megan, impressive as usual.
Robert
-
Thanks Megan,
I figured it was something like that since the errors went away without any further action. Thanks for putting the issue to rest for me.
