Forum Moderators: phranque

Message Too Old, No Replies

Mod Rewrite Question - empty //

Hopefully a quick one.

         

Dayo_UK

3:57 pm on Jul 19, 2004 (gmt 0)



When doing a mod rewrite some of my flat urls will be something like this:-

www.domain.com/cat//dog.html - in other words two // with no content in between (Not sure of the techie way of explaining this!)

and maybe like this:-

www.domain.com/cat/.html

Does anyone know or have any experience whether this will cause a problem for robots - or any other problems that I have not forseen?

gergoe

6:34 pm on Jul 19, 2004 (gmt 0)

10+ Year Member



I would not use such URL in your cause, because of the reason that you never know which bots will fail on it. The double slashes in the first one might be replaced with a single slash or the URL will not be indexed, but the second one could be working (but it might be considered as a directory by some bots, and could be that they do not index it). The reason why the query_strings are replaced such a way to "pathname" is to be compatible with all of the bots, so try to avoid such a situation where your URLs can fail on any of the bots (otherwise it is useless).