I tried to create a new subdomain on my webserver and added the application (wordpress) from my main site to the contents of the subdomain (trying to access my main site wordpress from the subdomain). This caused the site to stop loading correctly and all links would redirect me to the subdomain that had not been created yet.
To fix this I went ahead and took the application (wordpress) off of the sub-domain and everything was fine, so I left the computer. Then, a bit later, it started happening again.
This time I removed the sub-domain all together and removed then re-added the application to the content section on the menu for my main site. Now I am getting a redirect loop and the site is completely unusable. I'm not sure at all how to fix this and have submitted a ticket, but it's urgent that I get the site online ASAP so any help would be very much appreciated. Thanks!
A mismatch between the 'siteurl' setting in the wp_options table and the DOMAIN_CURRENT_SITE variable in the wp-config.php file is the culprit here.
What is the best way to migrate/test an application before moving it from one host to another?
Can I access a WP site via IP address?