Redirect Errors Related to Multisite WordPress/BuddyPress/bbPress SIte

We are getting the following errors:

[Thu Feb 25 06:52:02.044062 2016] [core:error] [pid 7352] [client 87.252.3.183:60285] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Thu Feb 25 06:57:09.026897 2016] [core:error] [pid 18802] [client 87.252.3.183:63989] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

We are hosted on wp-engine and the history of the site is about 2 months ago we “moved” the site to the default root of www, so http://www.the30daysolution.com, where prior we were not using. Also we implemented SSL. These redirect loops have been happening for a while, but not sure if back as far as this change.

The settings for www in wordpress are http://www.the30daysolution.com and my developer thought there might be a conflicting domain setting so he asked wp-engine and they suggested to remove the www as they said this was causing the errors and also suggested to comment out the line in the wp-config:

//define(‘DOMAIN_CURRENT_SITE’, ‘www.the30daysolution.com’:wink:;

After that the following change was made so www was removed.

define(‘PWP_DOMAIN_CONFIG’, ‘the30daysolution.com’ );

This actually stopped the errors interestingly enough, but we haven’t changed the site_url to the30daysolution.com from the www.

There is a redirect set in wpengine panel under domains from the30daysolution.com to http://www.the30daysoluiton.com which seems to be working fine now.

My concern is that wpengine suggested me to edit the domain under domains in wpengine to remove the www, but this was a huge change, one I even considered by posting the question on this site. To move it back is a really big deal and it seems like this has to be some other configuration issue.

So now the website has the default url set to http://www.the30daysolution.com and a redirect set in wpengine to make the30daysolution.com to http://www.the30daysolution.com and with the changes made the errors are actually gone.

The concern is the existing configuration seems like a bad practice, even though errors are gone. And the developer that moved this to www is highly experience, so it isn’t as likely he misconfigured the settings, but of course possible.

So where I am now is I worked with my developer to document this and see if anyone can point out what we are missing. I have a feeling it is easy, but this isn’t as much my area of expertise. My developer will be able to help me respond to any questions though if necessary.

Thanks!