Pro not loading when forcing https

Hi,

I use a modified htaccess file to force https with the following code:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

The site loads but not Pro editor. I get this error in the browser:

Not Found
The requested URL /pro/ was not found on this server.

When I revert back to the original htaccess file, it works:

BEGIN WordPress

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

END WordPress

Of course, I would like to force https and have pro work.

Please help.

Hey Anthony,

It sounds like you’ve deleted the default WordPress htaccess and only inserted your force https rule. Please try following the suggestion in this article at https://www.thepolyglotdeveloper.com/2014/12/force-https-pages-wordpress-site/

Hope that helps.

Christian…

OMG. You’re too awesome!

I just copied and pasted the htaccess stuff in the link and everything is wonderful.

Thanks!

We are delighted to assist you with this.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.