homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

Double Slashes ("//") in URL
Does this signify anything, or can I filter them out?

5+ Year Member

Msg#: 3191668 posted 6:09 am on Dec 18, 2006 (gmt 0)

Sometimes I see requests for files like http://www.example.com//file/

Does the double slash "//" mean anything?

I'm thinking about filtering requests with double slashes to just single slashes, but I'm wondering if I'll be messing anything up.

http://www.example.com//file/ => http://www.example.com/file/




WebmasterWorld Administrator coopster us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 3191668 posted 3:57 pm on Dec 18, 2006 (gmt 0)

If the referer is coming from your own site you seemingly have a link setup incorrectly somewhere in your html documents.


5+ Year Member

Msg#: 3191668 posted 8:15 pm on Dec 18, 2006 (gmt 0)

Dito. When I have seen this, it has been a typo error int he referring document.


5+ Year Member

Msg#: 3191668 posted 1:28 am on Dec 19, 2006 (gmt 0)

Dear Jeremy_H:

This redundancy can be the result of a miswritten RewriteRule directive in a per-directory context. If you use mod_rewrite, check the RewriteBase. Does the anomaly only occur after a specific file or directory request? Alternatively, does the anomaly only occur with a specific user-agent -- particularly, one that appears to be a robot? If possible, try going to the refering page and examine the source code.


Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
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