I
I
iAlex1952019-05-29 16:44:38
MODX
iAlex195, 2019-05-29 16:44:38

Why does 404 appear on all resources when switching from http to https?

Hello!
When switching from http to https, on all pages except the main 404 error.
There is an SSL certificate.
In htaccess I write:
RewriteCond %{SERVER_PORT} !^443$>
RewriteRule ^(.*)$ https://site.ru/$1 [R=301,L]
Change http to https in modx system settings.
What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2019-05-29
@iAlex195

<head>
...
<base href="/">
...
</head>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question