Welcome to WebmasterWorld Guest from 54.167.83.224

Message Too Old, No Replies

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

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

Junior Member

5+ Year Member

joined:Aug 18, 2006
posts:83
votes: 0


hello,

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...

thanks
Reilly

[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 July 28, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 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 July 28, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Aug 18, 2006
posts:83
votes: 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 July 28, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 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 July 28, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 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 July 29, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Aug 18, 2006
posts:83
votes: 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 July 30, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members