Add an exception to .htaccess RewriteRule
.htaccess, mod-rewrite
Solution
If all you need is to exclude requests with `/page` in the URI-path, you may try this:
RewriteCond %{REQUEST_URI} !/page [NC]
RewriteRule ^(.*)/[0-9]+/?$ /$1/? [L,R=301]
Problem
I added the folowing code to main .htaccess ``` # BEGIN RewriteEngine On RewriteBase / RewriteRule ^(.*)/[0-9]+/?$ /$1/? [L,R=301] # END ``` I'd like to add an exception to any link ended with .../page/