[wp-hackers] Trailing Slash on Template Tags

Ozh ozh at planetozh.com
Thu May 29 12:51:18 GMT 2008


>I'm sorry, what problem would be solved by adding the trailing slash?

This would help people running incorrectly configured apache with virtual 
hosts. There is a well known problem where misconfiguration makes apache 
fail to lookup directory (apache looks for *file* /something on virtual 
host and ends up trying *directory* /something/ on default site. Something 
like 
<http://planetozh.com/blog/2004/05/apache-and-the-trailing-slash-problem/>)

I'm not saying that it's actually worth it, just saying it could help a 
few people. Actually I don't think it would be a good idea, the double 
slashes generated here and there in URLs would probably confuse more 
people than it would help a few misconfigured Apache.

Ozh



More information about the wp-hackers mailing list