Hello websharks!
Today, I switched our site over to cloudflare, which went smoothly except for one problem: A guest ( not logged in ) user visiting the front page of our website, would get the following error:-
_________________________________________________
This web page has a redirect loop
The web page at http://www.wildfireworlds.com/my-membership-options-page/?_s2member_seeking%5Btype%5D=page&_s2member_seeking%5Bpage%5D=195&_s2member_seeking%5B_uri%5D=Lw%3D%3D&_s2member_req%5Btype%5D=level&_s2member_req%5Blevel%5D=0&_s2member_res%5Btype%5D=sys&s2member_seeking=page-195&s2member_level_req=0 has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
Here are some suggestions:
Reload this web page later.
Learn more about this problem.
Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.
_________________________________________________
All the other pages worked fine.
So, I disabled cloudflare and redirected our nameservers back to our server… but the problem persisted. Only when I returned the wordpress and site URL’s in wordpress/settings/general so they used a bare URL without the ‘www’ ( wildfireworlds.com vs http://www.wildfireworlds.com ) did the problem go away and guests could get into the front page. Seems like it has nothing to do with cloudflare but rather the site starting with ‘www’ or not. Using ‘www’ is a prerequisite for using cloudflare.
I also noticed that the front static page we are using is marked as being restricted to ‘level 0 and above’ when the URL settings use ‘www’. When I remove the ‘www’ the page is no longer restricted. So from what I can gather, making the site ‘www’ ( which is a requirement of cloudflare ) makes the front page restricted to non members which in turn tries to redirect guests to the membership page = the error above.
But, im no expert obviously!
Any help would be greatly appreciated. Thanks.
EDIT
Ive just seen the post above mine talking about having www or not. Im not sure if it relates to my problem. Im not sure I totally understand to be honest!