Answer the question
In order to leave comments, you need to log in
How to write a RewriteRule correctly?
The meaning is this:
RewriteEngine On
RewriteBase /
RewriteRule ^js/bower/angular/(.*)?$ /app/vendor/bower/angular/$1
Answer the question
In order to leave comments, you need to log in
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question