URL broken after trying to switch
-
Hi, I’m hosting an instance of WordPress myself on my nginx mysql stack, however I’ve encountered an issue that I have 0 clue how to fix.
I tried to change the domain name through the wp-config.php, removing a sub-domain so it’s at the root. (it was https://beta.domain.com and i changed it to just https://domain.com). However that has completely broken something and now whenever you goto domain.com or beta.domain.com, it outputs the wp-config.php file.
Is there a way to fix this?
-
Here’s a helpful page on changing your site address in a self hosted site: https://codex.wordpress.org/Changing_The_Site_URL
It looks like you have a self-hosted WordPress.org site, and WordPress.com doesn’t offer support for that here. This forum is strictly for WordPress.com hosted sites. WordPress.com and WordPress.org are a little separate, and that can be confusing. https://en.support.wordpress.com/com-vs-org/
You can get help for many issues in the forums at https://wordpress.org/support/. Try posting your question there to get advice from the community on this issue if the codex link doesn’t give you enough information to solve that problem.
Hope that helps!
- The topic ‘URL broken after trying to switch’ is closed to new replies.