ico-webtech-default-dark-logo
ico-webtech-default-dark-logo
ico-webtech-default-dark-logo
ico-webtech-sticky-header-logo-1
  • Portfolio
  • B2B Websites
  • Website Design
      • Website Designing
      • Ecommerce Websites
      • Website Redesign
      • Responsive Websites
      • Landing Page
      • Blog Design
      • Logo Design
      • Website Maintenance
      • Web Development
      • CMS Development
      • Dynamic Websites
      • PHP Development
      • WordPress Websites
      • Magento Development
      • ICO Development
      • Web Hosting
      • Website Speed
  • Digital Marketing
      • AI Visibility (GEO)
      • Content Marketing
      • Social Media Marketing
      • PPC (Pay-Per-Click)
      • Google Ads
      • Email Marketing
      • SEO
      • Content Writing
      • SEO Link Building
      • Website Speed Optimization
      • Toxic Backlink Removal
  • Mobile Apps
  • Outsourcing Partner
    • Outsource Digital Marketing Services to India
    • Hire SEO Expert in India
    • Hire PPC Expert in India
    • Hire Content Writer in India
    • Web Design and Web Development Outsourcing
    • Hire WordPress Developer in India
    • Hire PHP Developer in India
    • Hire Mobile Application Developer in India
    • Hire Data Entry Resource in India
  • About
    • Our story
    • How we are different
    • Why Choose Us
    • Testimonials
    • Our Clients
    • Locations
    • Industries
  • Insights
  • Contact

Too many redirects issue in WordPress? Don’t get frustrated. It is simple to solve.

Home » Too many redirects issue in WordPress? Don’t get frustrated. It is simple to solve.

Too many redirects issue resolved

Usually when you are running a self hosted WordPress website you may encounter several issues if you are a WordPress beginner.

These errors could be 500 internal server error, white screen of death etc. It becomes really frustrating when you are new to WordPress. Recently one of my trainee transferred a WordPress website to a web server from his local XAMPP. And he was too stressed when he got an error which says ‘Too many redirects’

It shows like this on Firefox:

First of all I should tell you why do you get this error in WordPress.

You get this error mainly due to a misconfiguration in your redirects.

As WordPress uses redirects functions so does many other plugins use redirects too. If there is a misconfiguration in any such plugins used then your users might get redirected to a URL. This URL may continuously redirect them back to the referring URL trapping the user’s browser between two pages which generates the error.

One of the common example of a misconfigured redirects is in WordPress settings. When a user has an incorrect URL in WordPress Address and Site Address in Settings.

For example if the site’s url is http://www.example.com and you go t…

…Settings » General

And set it to http://example.com then WordPress settings will show error.

Or if you have your domain without www prefix, you add it with www prefix in WordPress will show this error.

So if your user will access http://example.com he will be redirected to http://www.example.com. And from there he will be again redirected to http://example.com. It becomes an unending loop.

To fix this you need to change your site and WordPress URLs in your WordPress settings as per your domain configuration with your web host.

If you have your domain with www prefix then your site and WordPress URL should be http://www.example.com and if your domain is without www prefix then your site and WordPress URL should be http://example.com.

you may not be able to access your WordPress admin sometimes due to this redirects issue.

In this case don’t panic you can connect to your site using ftp connection. Download the wp-config.php file and add these two simple lines in it using a simple code editor like notepad.

define(‘WP_HOME’,’http://example.com’);
define(‘WP_SITEURL’,’http://example.com’);

Make sure you replace example.com with your own site name and use www prefix if required as per your domain setting in web host.

Upload it back to your WordPress and you are all set.

Hope this article was helpful to resolve the redirects issue. If you are still facing an issue or have a different WordPress problem. Then our team of WordPress developers are happy to help. Contact our web design company in Delhi India.

Pratibha
51
Web Design & Development
Prev PostWordpress Tips | ICO WebTech Pvt. Ltd.How to hide unwanted archive pages in WordPressJan 27, 2017
Next PostClass ‘WP_Taxonomy’ not found – Error in WordPressMar 02, 2017
We’re on a mission to build a better future where technology creates good jobs for everyone.
Web Development
  • Web Development
  • CMS Development
  • Dynamic Websites
  • PHP Development
  • WordPress Websites
  • Magento Development
  • ICO Development
Website Designing
  • Website Designing
  • Ecommerce Websites
  • Website Redesign
  • Responsive Websites
  • Landing Page
  • Blog Design
  • Logo Design
  • Website Maintenance
SEO
  • SEO
  • Content Writing
  • SEO Link Building
  • Website Speed Optimization
  • Toxic Backlink Removal
Contact Us

Malviya Nagar

JE 5 Ground Floor
Malviya Nagar New Delhi
110017

Okhla

E 48/4, Pocket D
Okhla Phase II
Okhla Industrial Estate
New Delhi, Delhi 110020

Ph: +91 8447380262

800 - 600 - 0020
New York, USA
Copyright © 2019. All Rights Reserved.