flopez01
Member
Posted 2 years ago #
I went to the General settings panel to try and change my url and now I can't log back in. What should I do?
I changed these settings from this:
WordPress address (URL) : http://hydroponic-gardens.com/wordpress
Blog address (URL): http://hydroponic-gardens.com/wordpress
To this:
WordPress address (URL) : http://hydroponic-gardens.com/
Blog address (URL): http://hydroponic-gardens.com/
and now I get this message: (I've tried changing it back but I still get this message) What should I do?
Not Found
The requested URL /wp-login.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at new.hydroponic-gardens.com Port 80
Any help would be appreciated
Thanks,
Fernando
Consider using phpMyAdmin and in the wp_options table set the siteurl and home back to the original values.
siteurl is your WordPress address (URL) and home is your Blog Address (URL).
And, some other info:
http://www.tamba2.org.uk/wordpress/site-url/
Then when your blog is working, to make WordPress available at http://mydomain.com just change in Settings->General, the Blog address (URL) to http://mydomain.com and put this index.php file in your web-root folder (it is the same folder that contains the wordpress folder)
<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('./wordpress/wp-blog-header.php');
?>
Then update your permalinks in Settings->Permalinks.
flopez01
Member
Posted 2 years ago #
Hello everyone,
Thanks MichaelH,
That was a big help. My site works again!
But I was trying to setup the url without /wordpress
Will this code help me do that?
<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('./wordpress/wp-blog-header.php');
?>