C
C
Concencuc2021-06-24 10:48:15
Apache HTTP Server
Concencuc, 2021-06-24 10:48:15

Why redirect only the main page?

ftl.by/uslugi/avia-perevozki
The following is written in htacess

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{SERVER_PORT} !^443$

RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
</IfModule>
# END WordPress

In wp-config, this is it
$_SERVER['HTTPS'] = 'on';
Please tell me what's wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question