Forums

WordPress homepage URL disaster (4 posts)

  1. gaja
    Member
    Posted 3 years ago #

    Hello, I got a request from senior officer to set the homepage of this WordPress based website to a particular page. It's url is something like ...xyz.org/index.php?page_id=24

    Since it is FAQ page (not an article), I couldn't make it by setting it to be homepage in it's own control panel. So I went to main control panel and set WordPress address (URL) to that page, with ?page_id=24

    And since then, everything on the website adds ?page_id=24 inside it's URLs and nothing works, you can't even reach wp-admin control panel because it redirects him to ?page_id=24/wp-login.php?redirect_to...

    It is a disaster. I did a stupid thing, I know.

    Does anybody know where that is stored and how it can be reverted to normal value?

    Sorry if this was already covered, I couldn't find.

  2. whooami
    Member
    Posted 3 years ago #

  3. Roy
    Member
    Posted 3 years ago #

    You're talking about a page, right? So why don't you just leave those permalinks alone (put them back to default or something "pretty" of course) and under "settings" (or "options") and "reading" chose "front page display":"a static page" and chose the page with id=24.

  4. gaja
    Member
    Posted 3 years ago #

    Thanks, I had to research whole mysql manually to find the field.

    Let it be known: wordpress url is in wp_options table, first row, field option_value. If anyone does a stupid thing like me, let him change that field back in mysql.

    huh

Topic Closed

This topic has been closed to new replies.

About this Topic