D
D
Davias2017-10-31 19:39:29
htaccess
Davias, 2017-10-31 19:39:29

Home page not moving to https?

Good time of the day
There is a site with free SSL
The site itself is https://fitnessvminske.by/
The bottom line: https works on all pages, but not on the main page
Here is what is written in htaccess:

# Force HTTPS
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI } [R=301,L]
# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


# END WordPress


What I just did not try to insert, did not work. I will be glad for any help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Kurtuchkin, 2017-10-31
@Davias

It doesn't work because there are links on the page with an absolute address starting with http://. Change to https:// or make it relative.
By the way, the standard way to transfer wordpress to https: in the admin panel in the settings, change the site address and wordpress address skrinshoter.ru/s/311017/GuVnhLqe

D
Davias, 2017-10-31
@Davias

Thanks, the answer was very simple.
Non-HTTPS links were in the homepage text icons.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question