I want that any url other than the ones which end with .css, .js, .ico, .jpg, .png and .gif are sent to index.php
I am using this code for the same, but it's giving 500 Server error.
An idea what can the problem be?
I am using this code for the same, but it's giving 500 Server error.
An idea what can the problem be?
Code:
RewriteEngine On RewriteBase / RewriteRule !\.(js|ico|txt|gif|jpg|png|css)$ /index.php
Comment