/ Published in: Apache
In MODx, insert below:
The Friendly URLs partRewriteCond %{REQUESTFILENAME} !-f RewriteCond %{REQUESTFILENAME} !-d
Expand |
Embed | Plain Text
RewriteCond %{REQUEST_URI} !^/name-of-directory(/.*)?$ [NC] RewriteRule .* rewrite?%{REQUEST_URI} [L]
Comments
Subscribe to comments
You need to login to post a comment.

I am trying to use a seperate .htaccess file in a subdirectory. This code in my root .htaccess file is not working
I have an .htaccess file and an index.php file in the /products/ dir.