Forums

Root URL for wordpress login or admin page (6 posts)

  1. dshihtzu
    Member
    Posted 9 months ago #

    I have accidentally set the root of my WordPress installation to:

    http://billblackmonphotography.net/?p=207

    I cannot access the site as the p=207 suffix is pointing to a post. How can I set the URL to the base http://billblackmonphotography.net/ which will allow me to get to dashboard (the login page is not accessible either).

    Is there a configuration file/files that allow me to correct these bad links without getting into the front-end of the dashboard?

    I'm a programmer and don't know the specific ins and outs of WordPress and would like to get more information about editing the settings with a text editor and then moving the edited files over via FTP.

    Also, can someone recommend a good book that addresses issues liked this?

    Thanks!

  2. fonglh
    Member
    Posted 9 months ago #

  3. Neal Bloome
    Member
    Posted 9 months ago #

    Open up your PhpMyAdmin panel select your database, select the options table and for option_id 1 change the option_value to http://billblackmonphotography.net, do the same for option_id 37 save those changes.

    Now go back and login to your admin panel then go to Settings and make sure the WordPress Address and Site Address both read http://billblackmonphotography.net if not change those values to http://billblackmonphotography.net

    Now even if they read correctly click the Save Changes button and everything will be back to normal.

  4. Joshua
    Member
    Posted 9 months ago #

    It is in the wp-config folder of your WP installation.

    Look for:

    define('WP_HOME','http://example.com'); // the address you want people to type in their browser to reach your WordPress blog
    define('WP_SITEURL','http://example.com'); // the address where your WordPress core files reside

    DO NOT include the trailing / on your url

    Change them to the correct url which will either be http://billblackmonphotography.net or http://billblackmonphotography.net/wordpress depending on how you installed it.

  5. dshihtzu
    Member
    Posted 9 months ago #

    Thanks for the tips! Where is the PhpMyAdmin panel? I use GoDaddy as a host. Is it referenced through their labyrinth of pages? If so, I'll call them because finding the WordPress info. through their site is an absolute nightmare.

  6. Neal Bloome
    Member
    Posted 9 months ago #

    Yeah if your using GoDaddy you have to login to your account, click the hosting tab, login to your hosting account, then once there click the database tab, then select the database, then click the edit database, enter in your username/password, and you'll see the tables, ect...

Reply

You must log in to post.

About this Topic