Redirect loop only on homepage

My site enters what I believe is a redirect loop when I access the site via a web browser using the follow URL.

nextflicks.tv

However, it works fine if I type www.nextflicks.tv or https://www.nextflicks.tv.

Strangely, any other page on the site can be accessed without www. or https://www. http://

What am I missing? and how can I fix this redirect?

First please do not use Cache Everything while beeing logged in. Please use APO for Wordpress based websites.

There indeed is a redirect loop but because of some captcha:

Why this happens I don’t know. Would be good to know your PageRules

1 Like

Thanks for catching that, I got my page rules in the wrong order, cache everything was before exclude Wp-admin. School boy error!

I’m hosted on siteground and I do remember reading somewhere that they add this captcha to sites. (I don’t know why)

My page rules are pretty simple…

Bypass wp-admin*
Bypass wp-login.php*

nextflicks.tv/
Cache Level: Cache Everything, Edge Cache TTL: 3 days

This AFAIK is not completely correct since you at least are also caching at:

https://www.nextflicks.tv which is not getting matched by the last page rule you mentioned.

Then I would recommend asking them for support. If they turned that on, they should turn it off, or let you disable it.

I’ve just asked them to turn off the captcha, hopefully that might help fix the redirect issue.

My exact page rule for cached everything is as follows.
*nextflicks.tv/ *

Cache Level: Cache Everything, Edge Cache TTL: 3 days

=====
Would you suggest another way?

Actually I would, since your target baseURL is fix. Therefore I would recommend:

https://www.nextflicks.tv/*ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ(with “https://www”)
Cache Level: Cache Everything, Edge Cache TTL: 3 days

Setting your PageRules as precise as possible, is always a good thing to do.

But like I said, best would be using APO.

Thanks - I will give that format a go.

I did try APO for a while, but I was getting odd issues with redirects. Like posts randomly redirecting to the homepage. Although, this might be because of the captcha issue.

Never heard of this particular issue, but as soon as you face such an issue just open a thread here, the APO devs are really quick.

After using it please flush the whole cache. And if you like report back.

I’ve just tested the redirect loop thing, and now the captcha has been turned off, it’s working as expected.
So maybe it was that that was also causing issues with APO???

So for anyone on SITEGROUND hosting, I would suggest you get support to remove this Captcha, as I didn’t even know it was on the domain. It isn’t referenced in the siteground admin area.

thanks for your help with this dude. Saved my a load of time.

I can’t say for sure, but if it was the exact same issue it is very likely.

That’s what we are here for :wink:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.