1) Edit wp-login.php
Just after the line "require( dirname(__FILE__) . '/wp-load.php' );"
Insert:
//FIXME: do comment/remove these hack lines. (once the database is updated) update_option('siteurl', 'YourFirstURL' ); update_option('home', 'YourFirstURL' );
2) Edit index.php to Default
Now you can open on a Browser your First Wordpress URL.
After you need to Remove the lines inserted in wp-login.php
Got it from here:Codex
I have tried this and it doesn't seem to work. Please help me!
ReplyDeleteHi,
ReplyDeleteTry to Check this:
http://codex.wordpress.org/Changing_The_Site_URL
God Luck!
where is wp-login.php? I don't know what it is or where to find it...
ReplyDelete