I’ve been working with wordpress for about 5 years now, though am not very familiar with php. Yesterday autoperformanceatl.com started redirecting to the blank page new.autoperformanceatl.com, and I’m not sure why. I’ve checked the error log but it doesn’t show any recent errors.
Is there a way to redirect in the wordpress control panel? I was thinking someone may have logged in and redirected it accidentally. I cant log in to wordpress now though to check, the login url won’t load.
I should have mentioned that there is no subdomain in the cpanel. I haven’t been able to connect to either domain because the original .com redirects to the “new” subdomain/folder which doesnt exist. Thank you for the reply!
If I do a site:autoperformanceatl.com search in Google, I can access the resulting links to pages other than the home page, although some of these are giving a 404 error. e.g. http://autoperformanceatl.com/inventory/ and http://autoperformanceatl.com/faq/.
The layout is broken, as it’s referencing stylesheets at new.autoperformanceatl.com.
Other links on the pages are also using new.autoperformanceatl.com.
That seems to confirm your suspicion that somebody has changed the path for the WordPress root directory. If you can log in via cPanel, you should (I think) be able to find the file which saves this setting and change it back. I don’t use WordPress, so hopefully somebody else can tell you where to look.
Also check your .htaccess file and remove any redirect from there.
I’m always amazed at the quick and insightful replies here. Thank you. I spoke with the host, godaddy, when they migrated the site to a new server a few months ago the put some"new" code in the wp-config file. Once I removed the code the site started mostly working properly (thanks for pointing out the style sheet mis linking). This kind of thing happens way too often with godaddy but I greatly appreciate your alls help.
When I first launched my site I used name.com. I saw issues like that all the time with them. And the support was useless as “it was beyond the scope” for them.
Exactly. It was “beyond the scope” of the first support rep (who said the migration had nothing to do with the issue), and the second support rep figured it out immediately. Calling support is definitely a game of chance with them.
Once we got most of the redirecting issues fixed, there were still a few old links that were misdirecting. The “Better Search and Replace” plugin fixed that. Thanks again for everyone’s help.
We don’t normally delete topics @elwoodhauptmann. Part of the usefulness of the forums is the archives, should someone else have a similar problem in future.