I am working on a new project using Apache mod_rewrite and PHP to get nice urls.
Here's what my urls look like:
http://example.tld/foo/bar/1/etc
Note that there is no trailing slash (this is how I write it in href <a>s attributes ).
However, I also allow http://example.tld/foo/bar/1/etc/(trailing slash).
Is this a bad practice? I am wondering if it would be better to allow only one path or, by default, to use the best slashes in all of my links.
Thank.
source
share