Support » Fixing WordPress » Redirect is locking me out of my site

Viewing 6 replies - 1 through 6 (of 6 total)
  • lisa

    (@contentiskey)

    if you have installed a plugin that you need to remove — you can do that without access to WordPress Dashboard

    instead, login to your webhosting account. find the file manager and delete the “redirection plugin” folder or
    access your website via FTP and delete the “redirection plugin” folder

    Thank you! I deleted the plugin, but I don’t think that it the problem with the lockout. As far as I can tell, my redirect is taking me from the URL where my site resides (https://spacekatdigitalstrategies.com) to a phantom URL (https://www….) that give me an error page.

    Do I need to do something on my host site to make the redirect work correctly?

    lisa

    (@contentiskey)

    what other changes were recently done?
    in your webhosting account:
    -what do you see for the home and site URLs in the database OPTIONS table?
    -can you disable all plugins (rename folder)
    -can you disable current theme (rename current theme’s folder)

    *be sure you have a backup of files and database*

    Check your .htaccess file for redirect rules that may have been created by the plugin and left by a manual delete.

    I checked it and I believe the last two lines might be the redirect rules created by the plugin:

    RewriteOptions inherit
    # To set your custom php.ini, add the following line to this file:
    # suphp_configpath /home/yourusername/path/to/php.ini
    # php_value mbstring.func_overload 4 # Required for PWSB support. Please do not uncomment this line.

    # php — BEGIN cPanel-generated handler, do not edit
    # NOTE this account’s php is controlled via FPM and the vhost, this is a place holder.
    # Do not edit. This next line is to support the cPanel php wrapper (php_cli).
    # AddType application/x-httpd-ea-php71 .php .phtml
    # php — END cPanel-generated handler, do not edit

    # 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
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteRule ^(.*)$ “https\:\/\/www\.spacekatdigitalstrategies\.com\/$1” [R=301,L]

    #, as the first character of a line in .htaccess, makes it a comment and is ignored.

    So add # as first character of the last two lines to test.

    You may need to clear your browser cache also.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.