gracesfall |
09-27-2013 02:40 AM |
WordPress Tip O' The Day...
OK, perhaps not a daily thing, but I ran into a BIG problem this morning that, fortunately, there was an easy fix for.
My site had been running slow since I launched it. I didn't understand why - the theme is lightweight and streamlined, I'm not using a lot of plugins, etc... Then this morning, my admin edit pages starting popping off 404 errors.
So I'm freaking out, tearing my hair out, and scouring the dev forums hoping to find a solution. I found nothing.
I tried clearing my browser cache and logging in again, thinking *maybe* that would fix it (kind of like whacking an older TV with a hammer sometimes "fixes" the reception problem). Nope. But I *did* notice that it seemed to be hanging on the login redirect. So I went into my database via phpMyAdmin and took a look at all of my wp_options settings, specifically siteurl. What do you know, it was set to freelesbianpornblog.com instead of www.freelesbianpornblog.com.
After adding the 'www.' in front of all instances of my domain name in the database, I tried logging in again. Worked like a charm AND no more 404 errors when I try to edit my pages and posts, either!
It also fixed the bogginess issue too so now the site is running faster.
|