I have a pretty standard WordPress.htaccess with the following URL rewrites
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
WordPress is installed in my domain root. I have other scripts in subfolders, for example. / opencart These subfolders contain their own .htaccess files.
Unfortunately, it seems that WordPress sometimes captures rewrites for some of these scripts.
How can I ask mod_rewrite to ignore WordPress rules for rewriting when detected in certain subfolders, for example. opencart and use the rules defined in .htaccess in these subfolders?
OC2PS source share