Main WP Site Redirecting to Subdomain WP Installation
-
Hey guys!
So I’ve run into a problem with my main wordpress setup. Just to give a background:
I had hired a developer to clone the WP site on my main domain to a subdomain – and make minor alterations on this sub-site according to it’s purpose. This subsite is identical to main site in almost all aspects, except it has different range of products basically.
It was working all fine for the last couple of months. Both the sites running smoothly in their own respective domains. However, since yesterday, the main domain setup has been redirecting to this subdomain. I can’t even access the WP Dashboard on the main domain. Trying to access the login URL for the main WP dashboard takes me to the subdomain’s WP dashboard!
1. Checked the htaccess logs for both the installations. No alterations over there. Both are still looking good.
2. Checked cloudflare settings. All good over there.
3. Checked cPanel redirect settings – nothing there.
4. Checked wp_options table in both the DB (main site and sub site) – both are correctly set.
5. wp-config is correctly set as well for both.
I’m losing my head since the last 12 hours trying to find the cause of this! Any help guys? š
P.S.: Multisite isn’t enabled on either of the WP installations.The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.