Answer the question
In order to leave comments, you need to log in
"beautiful" links??
Hello. I am making a cnc for a site based on php.
I figured out how to get links of the 1st level of the form beta.igrodel.tk/reg
Next, I want to pass 2 and 3 get in this address, and get beta.igrodel.tk/reg/user/id_54543 in the address bar
Now I use htaccess
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?page=$1
Answer the question
In order to leave comments, you need to log in
Why not use a ready-made router instead of cooking your own noodles?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question