wantrade
Member
Posted 5 months ago #
Made an attempt to move existing wordpress to a new directory location. After making changes in ./wp-admin/options-general.php, got an error. I then followed step by step instructions on http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory but failed to recover site.
I am not able to load wp-admin thus I can't log back into my admin Dashboard.
Please help!
This is why we don't edit core WP files.
You will first need to download a fresh copy of WP. Then, you will need to use FTP or your hosts CPanel to upload the fresh copy of "wp-admin/options-general.php", overwriting the "tampered" one.
If your site still does not load.. you will need to use one of the methods mentioned here to change your site url back.