Doraya, does your host allow you to have access to your database, for instance with PhpMyAdmin ?
If you can, that would be the simplest.
Once phpmyadmin has connected to your database, click your database name in the left column, in the right panel click “search”, and enter your domain name (for instance mydomain.net) as search term.
Among the various results, you should be shown two results in the wp_options table.
Click the pencil icon to edit them.
And here, at this point, you should see that at least one of them has an incorrect URL. My guess is that this precise field got bugged.
If you want your blog to be at the root of your hosting, then have them both end with mydomain.net
Has it worked ?
Thread Starter
doraya
(@doraya)
Thank you so much for trying to help, Sabinou! I do have access to PhpMyAdmin, and I do have a database but it’s completely empty. There’s no tables and doesn’t seem to contain anything at all. I can’t seem to find what you suggested I should be looking for, sadly.
Is there another way, or a way to correct this?
you should have followed these directions
http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
you can’t just change the settings, there are a few more steps to it, for running WP from root
as for the DB, if you had WP running, you have a DB, with stuff in it. You may want to talk to your host to see how to access the WP DB
Thread Starter
doraya
(@doraya)
Thanks. I don’t exactly want wp to run from my root directory, I just don’t want the part of my site running with wp have the url “wordpress”.
If I can change the current state back somehow, I will follow the guide next time.
As for the db, yes I think I will.
Hi
Did you ever fix this I have just done the same thing?!
I changed the wordpress url instead of the blog url
can any body help?
doraya: did you ever figure out how to fix this problem? i seem to have done the same thing by accident.
website is working but there’s no wordpress template, and i can’t login to my dashboard.
if you’ve figured out how to fix it, please let me know!
me too! SAo please let me know asap!
The process for moving a site is described in the moving WordPress codex page.
Specifically, the Moving WordPress Within Your Site section.
mrmist: the problem right now is that we’ve accidentally changed a setting in our dashboard, and now we can’t access it or login (‘page not found’ error). so we need to somehow undo our mistake before we can correctly proceed to move the site.
The things to do when you have made the change accidentally are also covered in the article I linked to, under “If you forget to change the locations” section 2 you can see how you can edit the database to change your urls back.
Hi Steppie,
I just fixed mine via the ftp site if you have access use the second method
http://codex.wordpress.org/Changing_The_Site_URL
Hope it works!
hbmarketing:
the method worked! omg omg! i am so happy! i was so close to starting from scratch again. thank you everyone for your comments! life is good. lol