Welcome to WebmasterWorld Guest from 22.214.171.124
If I understand correctly, can I have more than one Rewritebase in an .htaccess? If yes, then what ends a block of rewrites that follow a Rewritebase? Is it the next Rewritebase?
> If yes, then what ends a block of rewrites that follow a Rewritebase? Is it the next Rewritebase?
Nothing 'ends a block of Rewrites'. Each RewriteRule 'ends' its own RewriteConds, but each rule stands by itself and ends itself.
The 'influence' of a RewriteBase directive continues, affecting all RewriteRules which follow it, until the next RewriteBase directive is found or until the end of the file.
You should not have to use RewriteBase on a normally-configured server, and if you do, then it is likely that the RewriteBases in each .htaccess file would be the same. It's only needed when the server config includes a mod_alias Alias directive or similar that essentially injects an extra or different 'directory level' into the filepath to which your URLs resolve.
If the below code's location would be in a subdirectory's (named store) .htaccess and the new intended redirect destination was in its immediate parent directory, how would this be written for the new destination while maintaining an internal rewrite? (did I ask that correctly)
RewriteRule ^index\.php/category/[^/]+/cPath/100$ http://www.domain.com/category-name-c-100.html [R=301,L]
RewriteRule ^index\.php/category/[^/]+/cPath/100$ /category-name-c-100.html [L]