A few of the most common WordPress errors include the site not loading or "Redirected you too many times" error. The Redirect error is often caused by plugins or conflicts within the .htaccess file. This article discusses possible causes to these problems and ways to fix it.
If you've installed an SSL on your site, you can only use it correctly by redirecting your site traffic to the secure "https" protocol:
This URL:
http://example.com
Becomes this URL:
https://example.com
This redirect can be added to the .htaccess file, or you can use a plugin to achieve the same effect.
However, the https redirect can cause a loop if it conflicts with other redirects. Below, we've highlighted few ways you can fix that.
It's possible that your site does not have an SSL installed and is falsely pointing to the https protocol. While we recommend you have an SSL installed, you will need to fix this issue first.
You can change the site url by adding some code to the wp-config.php file.
You will need access to your server to edit this file. The easiest way to get there is to use the cPanel File Manager as demonstrated below:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
(Making sure to replace "example.com" with your domain name)
Now your site will be using the HTTP instead of HTTPS for the site URL. Make sure to refresh the page.
For more advanced users, you may not be willing to change your configuration. In this case, you can also perform the same procedure above in your database.
Now, we should have achieved the same effect as above, in which your site is using the URL specified in the database.
It's also possible that a plugin is causing the redirect loop. Plugins like Easy HTTPS Redirection and Redirection create redirects for you. However, possible edits made in the .htaccess file can cause conflicts. In this case, you can easily rename or delete plugins from the back end of your site.
If the redirect error stopped showing then this means one of your plugins was causing the error. Go through all of the plugins you're currently using and make sure they are all needed and working properly.
If the problem persists, you should first make sure that WordPress error reporting(debugging) has been turned on. This will provide more data if you have to contact support personnel for your plugins or for your hosting service. You can contact our Live Support team 24/7 via email/chat/phone. They can assess your site and help find the cause of the problem that you're seeing.
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: | 757-416-6627 | Chat: | Click To Chat Now |
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!