Should my web server add trailing slashes to URLs or remove them?

Posted by jnm2 on Server Fault See other posts from Server Fault or by jnm2
Published on 2012-06-01T15:16:22Z Indexed on 2012/06/01 16:43 UTC
Read the original article Hit count: 471

Filed under:
|

I've read in several places that you should decide whether you want trailing slashes or no trailing slashes in your site URLs and stick to your choice consistently.

This makes sense, but which should I pick? Is there a convention I ought to follow, performance to be gained, or is it totally up to my taste?

(I notice that the StackExchange sites link without trailing slashes, but SE doesn't redirect if you add a slash.)

© Server Fault or respective owner

Related posts about webserver

Related posts about url