• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Can't enable permanent 301 redirect

Salen

New Pleskian
Hello all, I've been having an issue with getting my http to https redirect to work on my Plesk Webhost, simply because I can't press the "Permanent SEO-safe 301 redirect from HTTP to HTTPS" button in my hosting settings. I've purchased a legitimate SSL certificate, and Plesk recognizes it as so. Every tutorial and every help forum says to go into my host settings and press this little button to turn it on, but I can't press it; it isn't recognized as a button. I have all permissions- i'm the owner. I was wondering if anyone has had this problem or knows a fix for it. If anyone doesn't know what button i'm talking about, it's Websites and Domains > Hosting Settings > Security. Thanks.
358aqs9.png
 
Are you an admin at your server?

Othervise you can setup an https redirect via .htaccess or Additional directives for HTTP.

In Plesk, go to Domains > example.com > Apache & nginx Settings and paste the following directives to the Additional directives for HTTP field:
Code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,QSA]
</IfModule>

Add the following directives to the Additional nginx directives field (if available):
Code:
if ($ssl_protocol = "") {
rewrite ^/(.*) https://$server_name/$1 permanent;
}

or via .htaccess:
Code:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
 
That worked. Now the issue is my website saying "Not secure", even though I have a valid SSL certificate, and Plesk recognizes my domain as SSL Secured
9a9ssz.png
aeqxk8.png
 
EDIT: I figured it out. It was a setting in my myBB forums panel that I needed to change.
Thanks for your help anyways!
 
Back
Top