Today is a good day, my internet has finally been cooperating and I can actually get some work done online. For over a week my internet connection has been going in and out every minute. I could only do short term work online, like networking and could do some offline stuff. Anyways, back to the subject of “can’t login to WP-Admin”.
This isn’t the most exciting post or anything, but just in case it happens to anyone else, I figured I’d write about what happened and how I fixed my WordPress login error.
I had created another mini niche blog not to long ago and I was playing around in the dashboard under the “general settings”. For some odd reason I changed my blog url in the “WordPress address” url spot and pushed save. The next thing I notice is I can’t login to the WP-Admin and I get an error message saying that url doesn’t exist. On top of that my actual site had no WP theme, it was just a bunch of content and images and basically I took WordPress off of the site entirely and didn’t know what to do. I had one of those “what the **** moments” or simply put, confused.
This is how I fixed it…
Of course I did some Googling and found this very helpful page http://codex.wordpress.org/Changing_The_Site_URL
All I needed to do was enter my cpanel, went into my file manager, found my blog and edited the “WP-config.php”. I only had to enter these two lines below and hit save.
- define(‘WP_HOME’,’http://enter yoursite here.com’);
- define(‘WP_SITEURL’,’http://enter yoursite here.com’);
There’s even a better way of doing this and it’s explained in the link I gave you above. If you ever find yourself in the same situation or can’t login to your WP-admin for your wordpress blog, then this may work for you.
In this post I’ve really showcased my technical and design capabilities by kicking myself out of my own blog, only kidding. I have no skills and that is one reason why I use WordPress. It is very easy for just about anyone to use and any technical problems are usually quite simple to resolve on your own.