Answer the question
In order to leave comments, you need to log in
How to fix htaccess?
Hello. Please tell me how to fix. There are rules in htaccess:
RewriteCond %{THE_REQUEST} //
# Check if the forward slash (//) is repeated more than twice.
RewriteCond %{QUERY_STRING} !http(s|)://
# Make sure it's not a url in GET
RewriteRule .* /$0 [R=301,L]
# Eliminate all unnecessary slashes.
from https://site.ru/blog////
redirects to site.ru/blog
everything works but I have a site with https I need to redirect to a site with https://
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question