• Resolved arroyero

    (@arroyero)


    Thanks for your work. I have just installed your plugin and it’s doing its job without major issues at my website https://halloffame.es However…

    Before the installation all calls to https://www.halloffame.es/ were redirected to https://halloffame.es/ and since then they give a 404 error.

    I include my htaccess file. I’ve played a bit with it without success and I fear that the plugin will undo any changes. Plus my knowledge of this file is quite limited. Any assistance would be appreciated.

    # BEGIN rlrssslReallySimpleSSL rsssl_version[2.4.3]
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on [NC]
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    </IfModule>
    # END rlrssslReallySimpleSSL
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    • This topic was modified 7 years, 10 months ago by arroyero.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    re-saving permalinks, in settings/permalinks.

    If that doesn’t help, you could try removing the .htaccess redirect. To prevent the plugin from rewriting it, set in settings/ssl/settings “stop editing the htaccess”.

    Thread Starter arroyero

    (@arroyero)

    Thanks. None of the suggestions actually worked, but just in case it changes your reply, I have just noticed that in fact it is not a 404 error but a ERR_SSL_PROTOCOL_ERROR (sorry for that) and the message “This website cannot provide a secure connection” (I am translating from Spanish, so the wording might be different in English).

    Debug log says

    ** Really Simple SSL debug mode **
    ** Detecting configuration **
    plugin version: 2.4.3
    Already on SSL, start detecting configuration
    ssl type: SERVER-HTTPS-ON
    ** Configuring SSL **
    testing htaccess rules...
    htaccess rules tested successfully.
    wp config jetpack fix already in place
    checking if .htaccess can or should be edited...
    .htaccess contains redirect
    settings page, per site activation or hsts option change, updating htaccess...
    retrieving redirect rules
    single site or networkwide activation
    converting siteurl and homeurl to https
    .htaccess contains redirect
    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Your site does not give a valid response on the www domain. It looks like an issue outside WordPress, which might have to be solved in your server settings.

    You could try to add a redirect to the non-www domain at the top of your .htaccess:

    https://really-simple-ssl.com/knowledge-base/redirect-non-www-to-www-domains-in-htaccess/

    Or ask your hosting company to extend the certificate to the non-www domain.

    Thread Starter arroyero

    (@arroyero)

    Problem solved. Just in case it helps anyone else…

    After checking with our hosting company and checking several options, including manually deactivating the plugin and requesting a new ssl certificate the problem persisted but we found what was causing the problem: The hosting company included free of charge a basic suscription to Cloudfare, which was activated. It turns out that this Cloudfare free plan did not allow for redirects (premium plans do, apparently). All we had to do was cancelling the Cloudfare account and everything worked like a charm!

    Thanks a lot for your assistance. Your article on manually deactivating the plugin was also a great help! I hope this helps others.

    • This reply was modified 7 years, 10 months ago by arroyero.
    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Thanks, I’ll add this info to the 404 problems article.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Former redirect stopped working after installing plugin’ is closed to new replies.