Wednesday, March 11, 2015

WordPress Address (URL)

So, i got this problem a few times and i figured its good if i put a note here for easy reference.

in a case where you've changed your WordPress Address (URL) in General Settings and you found yourself unable to log back to your wordpress, here's what you gotta do:

1. Find your wp-config.php file situated under folder 'wp' (in my case). Click Edit.

2. Just before the comment line that says "That's all, stop editing!", insert a new line, and type: define('RELOCATE',true);

3. You can now log back to your wordpress as usual and make sure your General Settings is correct.

4. Reopen the wp-config.php file and delete the previous change you've made. Save.

That's all.

No comments:

Post a Comment