homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

Google is indexing my domain with // ... What to do?

 5:55 am on Jul 28, 2008 (gmt 0)


since yesterday someone who do not know HTML-Basics has set a Link on my Site - and linked with http://www.example.com/folder// - now Googlebot follows this link - and my Linkstructur is relativ - i have only relative links - and Googlebot is indexing now all with // - i do not use Rewrite Rules and i never have Configurate since 5 years my Server - please what can i do - to prevent Googlebot indexing all my Sites with // ... i wanna send a 404 - but how without Rewrite Rules...


[edited by: Robert_Charlton at 6:18 am (utc) on July 28, 2008]
[edit reason] Use example.com - it can never be owned. [/edit]



 8:03 am on Jul 28, 2008 (gmt 0)

There's a thread in the Apache forum that addresses this - Page Indexed with double // - how to prevent [webmasterworld.com]


 10:43 am on Jul 28, 2008 (gmt 0)

thanks tedster,

but i need a solution without rewrite conditions :( and it must return a 404 Error...

[edited by: Reilly at 10:54 am (utc) on July 28, 2008]


 6:19 pm on Jul 28, 2008 (gmt 0)

I thought that was the issue - but unfortunately this IS a server configuration issue and I don't know of any other way to create a fix.


 9:51 pm on Jul 28, 2008 (gmt 0)

You could prepend a short PHP (or other language) script to the start of all your pages; one that tests the requested URL and responds accordingly.

However, I would much prefer to use .htaccess for doing this.

At the end of the day, you've discovered yet another reason to avoid using relative URLs; that is the wider issue here.


 6:30 am on Jul 29, 2008 (gmt 0)

thanks so much tedster and also you g1smd,

i got running mod_rewrite and i fixed the problem - it was hard but i got the clue yesterday evening - thanks so much...


 1:07 am on Jul 30, 2008 (gmt 0)

You might also want to add redirects for trailing dot and/or trailing quote marks on URLs too.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved