Welcome to WebmasterWorld Guest from 54.162.226.212

Message Too Old, No Replies

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

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

5+ Year Member



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

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



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)

5+ Year Member



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)

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



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)

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



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)

5+ Year Member



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)

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



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

Featured Threads

Hot Threads This Week

Hot Threads This Month