Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Google indexing wrong URL - it has double slashes

         

vivalasvegas

7:46 am on Jul 19, 2006 (gmt 0)

10+ Year Member



When doing a site:example.com I see indexed pages of the type www.example.com//file.html. I don't understand why the 2 slashes. I checked the code and I don't see any errors. Any ideas?

Thanks.

[edited by: engine at 11:47 am (utc) on July 19, 2006]
[edit reason]
[1][edit reason] examplified. See TOS [webmasterworld.com] [/edit]
[/edit][/1]

MrSpeed

4:17 pm on Jul 19, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try crawling your site with Xenu link sleuth to see of that error happens. Sounds like a coding typo someplace.

[edited by: MrSpeed at 4:17 pm (utc) on July 19, 2006]

vivalasvegas

6:18 am on Jul 20, 2006 (gmt 0)

10+ Year Member



Thanks MrSpeed. I did that but no mistakes on my end.

LunaC

1:26 pm on Jul 20, 2006 (gmt 0)

10+ Year Member



I've been seeing Google, and lately Yahoo indexing very odd files as well.

page.html/
page.html/folder-that-never-existed/anotherpage.html

I haven't seen the double slashes yet on the site I'm currently working on, but have in the past on others.

I added 301's for file.html/ to file.html around a month or 2 ago, and I am seeing the wrong urls dropping out of search results and the good ones staying. Yesterday I added to redirect .html/anything to .html

Check the Apache Web Server section of these forums, there's others that are having the same problem and .htaccess code examples that are working for us.

As to where they are coming from, I haven't a clue either. I checked and it's not errors in my pages and I can't find anyone linking to me that way. Before the pages started showing up in Yahoo results, there was never any referrer info, I'd only seen bots requesting those urls.

I had this happen to another site a year and half ago.. I strongly suggest getting those URLs out of the SERP. I didn't fix it properly on that site and it's still tanked in the engines. (I can't know for certain that was the problem, but I don't want to risk it again.)

ltedesco

2:44 pm on Jul 20, 2006 (gmt 0)

10+ Year Member



I have one of my sites with this // problem. I makes your pages become supplemental results. I don't have any idea what to do to fix it. I already have all links as absolute links.

Also I checked Google sitemap and my other site has folders cached in google that does not exist. The keywords rank tool does not reflect reality either, seems to be outdated

FireBrigade

4:35 pm on Jul 20, 2006 (gmt 0)

10+ Year Member



I have discovered how // could be indexed in my case, maybe this helps.

I had wrongly configured my IIS to redirect traffic from http://example.com to http://www.example.com in a way that added one slash in the path due to the redirect, for instance a call to http://example.com/widgets.htm would be redirected to http://www.example.com//widgets.htm.

In that case you canot find any link to the latter URL, but if you have one single link to the non-www URL and the searchengine spider would follow it, it would be re-written to the doouble slash version.

Hope this helps.