Posted By

lucasoptura on 12/09/12


Tagged

php wordpress htaccess mod-rewrite mu


Versions (?)

.htaccess for wordpress network @wpengine - adds trailing slash to 404 pages


 / Published in: Apache
 

URL: http://twitter.com/lchoate

In my WP networks, I use a custom 404 page and plugin to answer calls asking for user information from a custom api. The API requires a URL format like this: domain.com/username/ However, users don't ever type a trailing slash, nor should they, so this allows for a trailing slash anywhere but inside admin, except where it is needed in admin...

Report this snippet  

You need to login to post a comment.