Forum Moderators: phranque

Message Too Old, No Replies

Problem with // in URL

It does not create an error

         

jetteroheller

7:05 am on Jan 18, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Just checked log files.

I wondered about

/folder//file.htm with code 200

There are 2 slash, so it should produce an error 404

I tried to call the URL

http://www.example.com/folder//file.htm

The page showed up with many errors, because no CSS and javascript loaded.

This could create duplicate content problems at Google.

What can I do, that

Solution 1:

/folder//file.htm creates an error 404 like expected

Solution 2:

/folder//file.htm becomes status 301 redirected pernament to
/folder/file.htm

jdMorgan

7:11 am on Jan 18, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Does this [google.com] help?

Jim