wendyrj65
Member
Posted 4 years ago #
I tried to change my blog url within wordpress, didn't follow the directions properly (was supposed to copy the index.php and .htaccess files from the WP directory into the root directory of my site; I misunderstood and didn't do this step). Now I can't log in or view my site. Is there a way to change this inside wordpress? Do I have to start over from scratch?
I had set up my site in a subdirectory of public_html, and was trying to change it so there was no subdirectory. I fixed that, but because I made the change within wordpress, I can't get back in to it. I hope that makes sense.
Any help is greatly appreciated!
Hey, I had a similar problem when I had a typo in the new blog url. It kept redirecting me to an address that doesn't even exist. I solved this in like two minutes with one SQL query:
UPDATE wp_options SET option_value = 'http://your.new.address.com' WHERE option_name IN ('home', 'siteurl');
Execute that through phpMyAdmin or whatever..
wendyrj65
Member
Posted 4 years ago #
I used Expert WordPress to create this blog website. It worked fine, if I had just understood a little more what I was doing before I started. Is it possible to just start over and recreate it? I'm not sure I will be able to do what you both have suggested, and I can't get into WordPress at all.
wendyrj65
Member
Posted 4 years ago #
kovshenin,
do I substitute something for the words below "home" and "siteurl"?
[WHERE option_name IN ('home', 'siteurl');]
Hi, if have the same problem. Installation worked fine, I logged in and after some time changed the blog URL. Now I can't login anymore. I already re-installed WordPress but for some reason it doesn't work anymore. Deleted cookies, history etc still no success. Anybody an idea? tx Stan
wendyrj65,
no, all you substitute is the address of your website. 'home' and 'siteurl' are the standard field names in the wp_options table. I believe 'home' isn't stored there since 2.7, but the query won't fail anyway.
change to the present correct values
http://codex.wordpress.org/Changing_The_Site_URL
did any of you read this ?
See the following video for step-by-step help:
http://educhalk.org/blog/?p=21
@Samboll,
Tx. Worked fine! It's easy when you know what to do. :-)
thenoize
Member
Posted 4 years ago #
What if a 3rd party installed WordPress in my client's server, and I have NO access to PHPMyAdmin?
How do I fix this problem? :/
Click samboll's link... Honest, there's a way there for you on it that involves first editing wp-config.php (which does not need phpMyAdmin). :-)