Here we explain steps to resolve a WordPress site showing a redirect loop error. This error will occur when viewing the site in your web browser and is usually the result of .htaccess file issues. Settings related to the WordPress plugin Really Simple SSL can cause this error. Access to cPanel will be needed to complete the steps below.
The error may appear as one of the following:
This Webpage has a Redirect Loop
AH00124: Request exceeded the limit of 10 internal redirects
Resolving Redirect Loop
- Log into cPanel
NOTE: A setting in the Really Simple SSL plugin has set a redirect in the .htaccess file. - Find the Document Root of the domain that is having redirect issues
- Click File Manager under the Files area of cPanel and enter the Document Root of the domain
- Locate and Edit the sites .htaccess file
- Comment or delete these lines in the .htaccess file:
# BEGIN rlrssslReallySimpleSSL rsssl_version[3.2.2] <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] </IfModule> # END rlrssslReallySimpleSSL
NOTE: To comment lines in the .htaccess file add # at the beginning of the line. - Save the file and reload the webpage
- If still receiving a redirect error, try using a default WordPress .htaccess
NOTE: This should fix the redirect error temporarily but a qualified developer will have to go through the plugins to determine where the redirect issue is and then choose another plugin or remove the offending plugins as needed to fix the issue.
Comments
0 comments
Article is closed for comments.