I manually installed wordpress on my server and the wordpress files are located in "www.mydomain.com/wordpress/", however I wanted my "www.mydomain.com" to be the address for my wordpress blog instead of "www.mydomain.com/wordpress/" so I went to the "Settings->General" screen in my dashboard and changed the "Home" url to "www.mydomain.com/wordpress" and the "Site" url to "www.mydomain.com" thinking it would make my home address the blog address. When I went back to the admin page I get a "Not Found (404)" error message and all the CSS formatting is gone from my blog.

Is there a way to reset my settings?


If you've got access to the database (via phpMyAdmin or the like) you can change those two values in the wp_options table. Look for siteurl and home in the option_name column.


You can override the database setting in wp-config.php

define( 'WP_HOME', 'http://example.org' );  //<------This is what you want users to type into their browser to reach your site.
define( 'WP_SITEURL', 'http://example.org/wordpress' );  //<-------- This is where Wordpress is installed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.