What is the url with the get request:
https://xxx.ru/page/?page=update-1/ Via .htaccess make display as:
https://xxx.ru/page/update-1/ RewriteBase / RewriteEngine on RewriteRule ^page\/(.*?)/?$ page/?page=$1 [L,QSA] Those. the user writes xxx.ru/page/update-1/, and the server sees this as xxx.ru/page/?page=update-1/
Generator. Htaccess helped. http://www.generateit.net/mod-rewrite/index.php
Well, if you get an error 500, add the code:
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l Source: https://ru.stackoverflow.com/questions/541104/
All Articles
https://xxx.ru/page/update-1/? - splash58 7:57 pmhttps://xxx.ru/page/update-1/and the server accepts it ashttps://xxx.ru/page/?page=update-1Or the user is simple follows the linkhttps://xxx.ru/page/?page=update-1/and in the address bar you seehttps://xxx.ru/page/update-1/- Sauron