Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Smith,

    Did you resolve your problem already? You could also create a SSL force without a plug-in. You have only creat a .htaccess file in your website.

    Install a SSL certificate at your server. I think you have this done already.
    Create a .htaccess in your root file of WordPress (like domain.com/.htacces).
    Put the next code into it:

    # BEGIN WordPress
    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L]
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    Change your url in the general settings from https://(www).domain.com to https(www).domain.com

    Michael, thank you. Your solution works perfectly fine on all of my sites.

    You are welcome! If you question is resolved, can you set this topic to resolved? Have a good one!

    I would but this is not my thread, I just happened to have the same problem.

    Thread Starter smith234

    (@smith234)

    stopped using it and went to another plugin that worked.

    Michael, the plugin already uses WordPress functions to do that, and nothing more. Read the description why it is not using htaccess, or read the code to see for yourself.

    @michael:

    We have a wildcard SSL certificate so anything.domain.com is secured. However, when I enter https://domain.com the browser throws an error because WC certificates don’t cover the //domain.

    Usually I would send the request to https://www.domain.com via .htacces but it’s now not working anymore.

    Could this be related to the order in wich the redirect happens? I think now it goes to https first (throwing the error) and then it doesn’t proceed with the //domain to //www.domain redirect.

    I may be completely wrong though.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘stopped working’ is closed to new replies.