You are currently viewing SOLVED: redirected you too many times for WordPress cloudflare websites

SOLVED: redirected you too many times for WordPress cloudflare websites

For the TL;DR, if you are getting error like this:

redirected you too many times wordpress cloudflare

Solution: the page is not working. redirected you too many times for wordpress cloudfare site after CDN setup when the wp site is hosted with bluehost/hostinger

  1. Login to your cloudflare dashboard home
  2. Click on the respective site which will lead you to the overview section of that site
  3. Click on the SSL/TLS section on the left hand side panel
  4. In the SSL/TLS setting page, if its in Flexible mode switch it to Full (strict) , in case its in Full(strict) mode switch it to Flexible mode.
  5. That’s it.

Bonus tips, if you are not sure if you have setup your cloudflare CDN properly or not, read below:

Cloudflare cdn configuration for bluehost/hostinger hosted WP site without plugin

  1. Go to cloudflare.com
  2. Click signup
  3. Choose free plan
  4. Create account by putting your email ID and setting up the password
  5. go to your email and confirm your email by clicking the link you will get inside an email from cloudflare
  6. Click on Add a website or application
  7. Enter your domain name (example.com) without putting any prefix such as http/s/www.or prefix such as / etc.
  8. click add site
  9. Scroll down and select free plan again.
  10. Click continue
  11. It will lead you to all the DNS records cloudflare could fetch including your domain email, get at least the email records / ip confirmed from your hosting service provider.
  12. Click Continue
  13. You now will get to nameserver url copy them.
  14. Go to your domain registrar dashboard , i.e., namecheap, godaddy etc.
  15. click on the domain name and go to manage (for namecheap) or something equivalent
  16. Scroll down to the NAMESERVERS section
  17. Change to Custom DNS , if not done already.
  18. you should be able to see two nameserver urls fields
  19. Paste the copied nameserver urls from cloudflare, and click Done.
  20. Wait for around 30 minutes or so till the time you see your site/domain in your cloudfare dashboard marked as active.
  21. Check if your site is loading fine, if yes, great job, you just finished your wordpress or any other site integration with cloudflare.
  22. If you are seeing the error: redirected you too many times for wordpress cloudflare website after the cloudflare CDN setup, you know how to fix it.

Leave a Reply