• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue http to https redirection is not working

allmyurl

New Pleskian
http to https is not working. Tried changed in htaccess and plesk panel but not working.

Could you please suggest anyone?
 
What exactly did you try to configure in the panel?
What exactly did you enter into your .htaccess file?
What website content do you have, e.g. are you using a CMS like Wordpress? Did you configure that CMS to use https instead of http?
Are you using Nginx only or the default configuration of Nginx + Apache?
 
Thanks for quick reply. I have set all these 3

What exactly did you try to configure in the panel?
Ans: Websites & Domains > SSL/TLS Certificate > Enabled in "Redirect from http to https"

What exactly did you enter into your .htaccess file?
When insert this, not opening post.
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,QSA]
</IfModule>

What website content do you have, e.g. are you using a CMS like Wordpress? Did you configure that CMS to use https instead of http?
Are you using Nginx only or the default configuration of Nginx + Apache?

Wordpress
 
In the Wordpress general settings please make sure that the URL that Wordpress knows of itself starts with https.
 
This is already in wordpress setting and CloudFlare Setting (Strict https).

Screenshot
Screenshot

Basically opening in https but real problem is not auto redirect from http to https or www to https.

Please guide.

Thanks.
 
Your website is auto-redirecting, there is no issue.

You can try to clear your browser cache or try to use a different browser, because the browser is probably delivering old content from its cache. The server itself is sending the correct redirect.
 
Back
Top