• Resolved Stratosphere

    (@stratosphere)


    I used this plugin quite some time ago, because I switched to SSL certificate and then removed the plugin.

    I notice in the .htacess file still has this code and is at the beginning of the entire file and it reads like this:

    # BEGIN HTTPS Redirection Plugin
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>
    # END HTTPS Redirection Plugin

    Question 1 So can I remove this bit of code in .htaccess?
    Why wasn’t this code removed when I removed the plugin and all its files?
    Thanks for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Godley

    (@johnny5)

    I don’t think that is created by Redirection. None of the lines inside the section are part of Redirection, and the start and end comments don’t match what Redirection uses (# Created by Redirection)

    Comment out the code (add a # to the start of each line) and see what happens. If everything works fine then you can delete it.

    That looks like code from the Easy HTTPS Redirection Plugin.

    Thread Starter Stratosphere

    (@stratosphere)

    Hi John: thanks for your reply, do I use # then a space to each line to test this bit of code? For example:

    #<IfModule mod_rewrite.c>
    # RewriteEngine On
    # RewriteCond %{SERVER_PORT} !^443$
    # RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    # </IfModule>

    Question: does this bypass the code? I haven’t messed with .htaccess before. Thanks for your help, sorry if it is not your plugin. The site has an SSL certificate on it, for over a year now and slow to open.

    Plugin Author John Godley

    (@johnny5)

    Yes a # at the start of the line. Doesn’t matter about a space after. Give it a try, you can always re-edit if you don’t get it right.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removing the Plugin and Left Over .htaccess File’ is closed to new replies.