Add Trailing Slashes Without Hardcoding The Domain
There are lots of tutorials showing how to add trailing slashes to a URL with mod_rewrite, but 99.9% of them hard code the domain. You might want to always append a trailing slash if you depend on it in $_SERVER['REDIRECT_URL'] … Continue reading
