How to create a .htaccess file ?
Step : Create text file and upload into server then rename to .htaccess .
Step : Paste the below code for URL rewrite for php application
# paste below these code to htaccess and generate url you php link
---------------------------------------------------------------------------------------------
RewriteEngine On
RewriteBase /phpapplicationfoldername/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
No comments:
Post a Comment