Found this on Google, thought this information will be useful to the readers of this post.
The explanation:-
RewriteEngine on This line starts the mod_rewrite module RewriteCond %{REQUEST_FILENAME} !-d If the request is for a real directory (one that exists on the server), index.php isn't served. RewriteCond %{REQUEST_FILENAME} !-f If the request is for a file that exists already on the server, index.php isn't served. RewriteRule ^(.*)$ /index.php
Found this on Google, thought this information will be useful to the readers of this post.
ReplyDeleteThe explanation:-
RewriteEngine on
This line starts the mod_rewrite module
RewriteCond %{REQUEST_FILENAME} !-d
If the request is for a real directory (one that exists on the server), index.php isn't served.
RewriteCond %{REQUEST_FILENAME} !-f
If the request is for a file that exists already on the server, index.php isn't served.
RewriteRule ^(.*)$ /index.php