Answer the question
In order to leave comments, you need to log in
How to make a redirect in htaccess (HTTPS enabled)?
Good afternoon, there is a site, it has the following lines in .htaccess
RewriteEngine On
RewriteBase /
<IfModule mod_rewrite.c>
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Answer the question
In order to leave comments, you need to log in
RewriteEngine On
RewriteBase /
Or
RewriteRule ^rules\-23$ https://site.ru/rules$ [NC,L]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question