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_rewrite Is enabled on your server.
  • Make sure you have the appropriate permissions to add rules to your .htaccess file.
    ( AllowOverride must be set to all or FileInfo to 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

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -