.htaccess file to implement multiple redirects
- by RobMorta
I have a dynamic site and from .htaccess file creating clean URLs:
RewriteCond %{REQUEST_URI} !(\.png|\.jpg|\.gif|\.jpeg|\.bmp)$
RewriteRule ^([a-zA-Z0-9_\-\+\ ]+)$ flight.php?flights=$1&slug=$1
This code worked fine for me but when I created a new type of page and trying to get clean URLs with the same code i.e.:
RewriteCond…