There was a small problem with the wordpress engine
There is a website on wordpress engine that is available and works fine on http and https open all pages. Ie full working functionality
I want to make the uniquest.uz website open only via https, so the redirection happens, but all my attempts will not be successful yet
As soon as I register in htaccess
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule> Internal links stop working on the site, the main page opens normally, how to be, and why this happens.
P / s /
WordPress address (URL) http://uniquest.uz
Website address (URL) http://uniquest.uz
If you put https everything breaks