How does RewriteBase work in .htaccess
In my own words, after reading the docs and experimenting: You can use RewriteBase to provide a base for your rewrites. Consider this This is a real rule I used to ensure that URLs have a trailing slash. This will convert to By having the RewriteBase there, you make the relative path come off the RewriteBase parameter.