Code: Select all
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www
RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [L,R=301]
RewriteCond %{REQUEST_URI} !^/images/.*
RewriteRule ^([A-Za-z0-9]+)$ /$1/ [R]
RewriteRule ^([A-Za-z0-9]+)/$ /redirect.php?link=$1But there are still real pages there so I want /register/ actually going to register.php
How can I add these specific pages to the htaccess file so they don't get redirected using the current rewrite rule?