If the url contains the string certen, redirect to index.php. You need to map the variable % {REQUEST_URI} to check if the url contains the string certen.
To redirect example.com/foo/bar to /index.php if uri contains a bar anywhere on the uri line, you can use this:
RewriteEngine on
RewriteCond %{REQUEST_URI} bar
RewriteRule ^ /index.php [L,R]
source
share