Support » Fixing WordPress » WP Own Directory, need to access General panel

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you tried to login from here?
    http://stmichaelspecialschool.com/wp/wp-login.php

    At first glance, things might be in such a state that you have to use one of the other techniques for changing the URLs. I find this one to work the best:

    If you forget to change the WordPress Address and Blog Address, you will be unable to change it using the wordpress interface. However, you can fix it if you have access to the database. Go to the database of your blog and find the wp_options table. This table stores all the options that you can set in the interface. The WordPress Address and Blog Address are stored as siteurl and home (the option_name field). All you have to do is change the option_value field to the correct URL for the records with option_name=’siteurl‘ or option_name=’home‘.

    ref. – http://codex.wordpress.org/Moving_WordPress#If_you_forget_to_change_the_locations

    jonradio,

    I did this:
    “If you have accidentally changed your WordPress site URL

    Suppose you accidentally changed the URIs where you cannot move the files. (but still can access the login page, through a redirection or something)

    wp-login.php can be used to (re-)set the URIs. Find this line:
    require( dirname(__FILE__) . ‘/wp-load.php’ );

    and insert the following lines below:
    //FIXME: do comment/remove these hack lines. (once the database is updated)
    update_option(‘siteurl’, ‘http://your.domain.name/the/path’ );
    update_option(‘home’, ‘http://your.domain.name/the/path’ );”

    and it worked! Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP Own Directory, need to access General panel’ is closed to new replies.