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?
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