• Resolved avfadagio

    (@avfadagio)


    Thanks for a great plugin.

    I have a question, just to help me learn. I have been using Simple SSL with great success. Jus this weekend I upgraded my host from a shared GoDaddy account to what they call web hosting plus, which is not shared anymore. When I changed my DSN to point to the new IP, my website got redirect errors and then page not found (404) errors after removing all plugins. After a lot of work I was able to re-create the htaccess file and got it to work. Comparing the two htaccess files, the difference is that the one that did not work has this line-

    RewriteCond %{HTTP:X-Forwarded-Proto} !https

    and the good one has this line instead –

    RewriteCond %{HTTPS} !=on [NC]

    Just for my education, could you tell me the difference and why when moving to a new hosting platform this caused an issue?

    Thank you so much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Hi @avfadagio,

    This is because different servers can have different conditions on which to redirect.

    The new server didn’t recognize the condition used on the old server, which caused the issues. If you enable the htaccess redirect again the new setup gets recognized.

    Hope this explains!

    Thread Starter avfadagio

    (@avfadagio)

    Thank you. Had me going for a while trying to figure out how to get my site back up. Like I said, love the plugin!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Just a question about a htaccess setting’ is closed to new replies.