I have a problem rewriting URLs. The following happens:
http://www.mysite.nl/scores
http://www.mysite.nl/registreren
http://www.mysite.nl/login
Will these URLs be redirected to index.php? route = score, etc.
All this works very well. But now I have the template files in a subdirectory, like images and style sheets. These files are in
- template /css/style.css
- images / images.png etc.
now all these files are also beeïng redirected to route.php ?.
I know the leading slash, and all file links are absolute paths.
The following code is used in the .htaccess file.
Rewriteengine on
RewriteCond% {REQUEST_FILENAME}! -D
RewriteCond% {REQUEST_FILENAME}! -F
RewriteRule ^ (. *) /? $ Index.php? Route = $ 1 [L, QSA]