Site in sub folder on hosting, database problem
-
Hi, I have searched the forums and google, and am either dense or am just not seeing the correct way to go about fixing a problem I created for myself.
I have a WordPress install running and for whatever reason listed the WordPress url as the main domain name/folder. I don’t think it is important for me to give actual links to the site, but can if needed.
Essentially, the General settings page in the admin section reads something similar to this:
WordPress address (URL): https://mymaindomain.com/hosted-site
Site address (URL): https://hosted-site.comWhat I want:
WordPress address (URL): https://hosted-site.com
Site address (URL): https://hosted-site.comBecause of whatever I did when I installed the site, and then created the posts, when the site tries to load the second page of posts, or an individual page/post from the menu, it goes to the WordPress url version of the permalink stored in the database.
Is there a somewhat simple fix? Or an even somewhat not simple fix? I have backups of the database, and have tried changing the url in general settings, and saving, but it reverts to the screwed up url. I have never done any mysql back-end edits, and would be willing to try if that is the only way.
I would just start from scratch, but have something like 300 posts that are all tagged and such, and don’t really want to go that route if I can help it.
Whatever help or direction would be appreciated. I can also update details if needed.
Thank you!
- The topic ‘Site in sub folder on hosting, database problem’ is closed to new replies.