Site in sub folder on hosting, database problem

  • Author
    Posts
  • #800527

    chachiarcola
    Member

    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): http://mymaindomain.com/hosted-site
    Site address (URL): http://hosted-site.com

    What I want:

    WordPress address (URL): http://hosted-site.com
    Site address (URL): http://hosted-site.com

    Because 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!

    #800621

    supportbot
    Member

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

    #800625

    auxclass
    Member

    The address you left is fake – but you are in the wrong forum and need to make friends over at WordPress.ORG – see above for the link.

    Your error is common but you need help at WordPress.ORG

    #800764

    chasemoreau
    Member

    Thanks auxclass…
    Yeah as soon as I posted the question the wordpress.com supportbot informed me that I posted in the wrong place. Couldn’t erase it though…

    Yeah, I know I posted a demo url, since it was more a general settings hierarchy question than a specific question about my specific site.

    Thanks for your insight, I posted at wordpress.org right after I posted here.

    #800766

    chasemoreau
    Member

    oops, I guess I have two logins here as well…

The topic ‘Site in sub folder on hosting, database problem’ is closed to new replies.