localhost - Need help changing back the correct wordpress url

admin2025-06-06  2

Hello I've just recently installed wordpress today on a development linux server. Everything seemed ok until when I stupidly changed the wordpress url. Initailly it was just http://localhost/ but I changed that to http://localhost/wordpress in the settings area. Now I cannot seem to login again, because everytime I login, it takes me to a page 404 error. So is there another way to change the wordpress url?

Hello I've just recently installed wordpress today on a development linux server. Everything seemed ok until when I stupidly changed the wordpress url. Initailly it was just http://localhost/ but I changed that to http://localhost/wordpress in the settings area. Now I cannot seem to login again, because everytime I login, it takes me to a page 404 error. So is there another way to change the wordpress url?

Share Improve this question asked Nov 28, 2011 at 15:59 Shehzad009Shehzad009 1092 silver badges5 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 1

Did you follow the steps outlined here:

http://codex.wordpress/Giving_WordPress_Its_Own_Directory

Specifically did you copy the .htaccess and index.php files back to the root and edit the index.php file with correct filepaths as stated in points 7 - 9?

Update

The problem was solved by modifying these two options in the wp_options table:

  • siteurl
  • home

(See comments)

for me i used MAMP. I went to the table in MyPHPAdmin and edited the data on the place noted. Worked for me! Big lifesaver

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749142226a316725.html

最新回复(0)