mod rewrite - Renaming PHP URLs with HTACCESS -
I am preparing a web app that puts a link like the following:
I want to see something like this:
Is it possible to have HTACCESS?
-b
To restart the URL, first of all:- Make sure that you have <
mod_rewriteIs enabled on your server. - Make sure you have the appropriate permissions to add rules to your
.htaccessfile.
(AllowOverridemust be set toallorFileInfoto be included)
Then the following .htaccess file in your web root:
RiverEngine on RAVR Rule ^ ([\ -_ 0- 9A -ZA-Z] +) $ index .php? A = $ 1 [L] You can customize as many as RewriteRule .
The first parameter is a regular expression matching the REQUEST_URI (again to get the folder in .htaccess ).
The second parameter is that you want to rewrite it, $ n if you have your mail group
Comments
Post a Comment