Question : rewritebase
Answered by : portapipe
# invoke rewrite engine RewriteEngine On RewriteBase /~new/
# add trailing slash if missing rewriteRule ^(([a-z0-9\-]+/)*[a-z0-9\-]+)$ $1/ [NC,R=301,L]
Source : https://stackoverflow.com/questions/704102/how-does-rewritebase-work-in-htaccess | Last Update : Fri, 18 Jun 21