GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   WordPress Tip O' The Day... (https://gfy.com/showthread.php?t=1122180)

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.

Tube Ace 09-27-2013 09:47 AM

That was the most creative spam I've ever see. JK, glad you got it worked out.

PornMD 09-27-2013 09:59 AM

Quote:

Originally Posted by Tube Ace (Post 19814580)
That was the most creative spam I've ever see. JK, glad you got it worked out.

I would say semi-kidding. There's no other reason he had to link that.

ottopottomouse 09-27-2013 10:28 AM

vBulletin automatically converts www. things to links.

lonerunner 09-27-2013 10:50 AM

Quote:

Originally Posted by PornMD (Post 19814597)
I would say semi-kidding. There's no other reason he had to link that.

maybe forum automatically converted it to link, anyway it made me click on it and go to the website. If it's a spam too bad for him becaus website returned "Server not found" error message.

If you really have issues, this is not a wordpress problem and don't try to fix it in options, unless you use multisite feature wordpress doesn't care if your website is www or non www. This is server issue not handling www and non www properly.

rogueteens 09-27-2013 11:39 AM

Quote:

Originally Posted by lonerunner (Post 19814668)
This is server issue not handling www and non www properly.

Non-expert here but I think he is right, the http://www."domain".com took noticeably longer to load than the http://"domain".com

nexcom28 09-27-2013 12:18 PM

I found them both to be really slow. It took over 10 seconds for both pages to even start loading. This would be unacceptable for me.


All times are GMT -7. The time now is 08:38 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123