125 Comments
- AZooYorkMystery, on 10/31/2007, -4/+71As a lover of first class irony, I really REALLY hope this goes down.
- binorgog, on 08/07/2008, -1/+50I know we all love digg, and kevin rose is next to a sacrament, but lets keep history accurate and respect those before us, it is and always will be "the slashdot effect"
http://en.wikipedia.org/wiki/Slashdot_effect - xnike2livx, on 10/30/2007, -4/+34It will be very ironic if this site soon cripples itself at the hands of the digg effect.
- ikamos, on 10/31/2007, -0/+27Dugg because it's down
- purpmint008, on 10/24/2007, -5/+21Write ***** articles...oh wait that would get you dugg! Oops!
*swoosh*
P.S. It would be ironic if this server crashed. Let's make it a goal! - theinept, on 10/24/2007, -2/+17Now let's see if your advice works!
- CerealFan, on 10/23/2007, -0/+11Nope, and I wouldn't completely trust this advice if/when the account comes back:
"WordPress
Error establishing a database connection" - Shawn4168, on 10/30/2007, -1/+12Interesting, however, the only tips that aren't completely obvious only apply to WordPress articles.
- jerrygofixit, on 10/25/2007, -2/+11Buried as inaccurate
- garbs, on 10/23/2007, -1/+9"And don’t worry about security, in a shared host environment other users will not have access to your folders anyway."
Haha, couldn't be more wrong ;) - Shinnokxz, on 10/27/2007, -0/+8and its not loading YAY
- whitebishop, on 10/25/2007, -1/+8"WordPress
Error establishing a database connection"
Wordpress - 0
Irony - 1 - inactive, on 10/25/2007, -1/+8The site is struggling with all the site hits. IRONY = Succeeded
- REM333, on 10/23/2007, -1/+8http://duggmirror.com/programming/Prevent_digg_fro ...
- jtbandes, on 10/23/2007, -0/+7The author needs to learn the difference between "less" and "fewer"...
- twodayslate, on 10/27/2007, -2/+8I like how they stole the Apple navigation
- koweja, on 10/31/2007, -0/+6You didn't miss much.
Since you have reached this page, I’m assuming that your website is hosted on a shared server and has already been a victim of digg effect (or atleast know what it means) - now you want a solution.
Its always good to share your articles on Digg, it makes sure that your voice is heard. Everything goes well until your article reaches Digg’s front page. From that point onwards your website won’t be in your control anymore, you won’t be able to open your control panel or access your files through ftp. The massive traffic coming from Digg will kill the server that has hosted your website.
If the administrator of the web server is monitoring the server there is no doubt that your account will be suspended. Even if the administrator is careless, you website won’t stay alive, there is no way that the server will be able to handle such traffic. You won’t have any other alternatives but to watch the traffic get wasted and feel helpless.
Optimizing wordpress for handling Digg traffic:
The first thing (and it is very important) you should do is, install a plug-in named wp-cache on wordpress. It simply caches your pages so that your server won’t have to execute same PHP code thousands of time per minute. To put it more simple, it changes your php files to html-like files.
Believe me, this really works, I’ve tried it and it works.
Go get it now, installing wp-cache could be a hard job, but you should not give up on this one, even if it takes 2 hours you won’t regret installing it.
Let me give you a tip though (for installing wp-cache):
1. Before you activate wp-cache plugin on wordpress, login to your cpanel and open the filemanager.
(You can also use ftp)
2. Inside ‘/public_html’ find the directory named ‘wp-content’.
3. Make sure you’ve set the permission for that directory to ‘777′, (although some might argue about security and stuff on doing this, this is your only chance of installing wp-cache without any headaches. And don’t worry about security, in a shared host environment other users will not have access to your folders anyway. If you are worried about the administrator accessing your files, you are better off buying a dedicated server, that way the whole issue won’t be an issue anymore)
4. Now you can activate wp-cache, it will configure everything itself.
Link: Get the latest version of wp-cache!
Even more things that you can do:
Well these are the obvious things that you can do.
* Keep it simple, use less graphics, if you don’t want to end up with zero bandwidth remaining.
* Use less plug-ins or disable unused plug-ins (although this might not be a problem after installing wp-cache)
* You can also try disabling comments, although everyone love getting comments on their article.
* Try not to use CAPTCHAs! (For example on comment form)
* Don’t make wordpress send you an email each time you get a comment (Its just not needed).
(Disable it from ‘wp-admin/options-discussion.php‘ page, E-mail me whenever: Anyone posts a comment)
* Get rid of anything that can abuse the server and has least importance.
* Use less JavaScript? Just kidding! In fact spare the server and try to do more with Java Scripts if possible.
And if nothing works?
You don’t have many options really, do one of following.
* Use blogger.com, it even lets you use your own domain name.
* Use caching services like coral cache, i.e. submit the cached page on Digg. This has some obvious disadvantages.
* If your blog earns enough money for you, its time to buy a dedicated server.
One more thing that you can do is, wait for your article to become popular, once it is popular and listed on duggmirror.com, redirect the traffic to the cached page on duggmirror.com, to know more about duggmirror, visit their site.
How to redirect?
* Using .htaccess file on your server. (Using Redirectmatch command). This is only possible if you can still access the server thorough cpanel or ftp, which is very unlikely.
* Using http://everydns.net/ visit the site for more info. - mutilati0n, on 10/25/2007, -1/+7Oh irony.
- jstepno, on 10/29/2007, -2/+8insert generic comment about irony of the advice posted
- bobman2007, on 10/23/2007, -0/+5"A winner is you!"
- Subterfug, on 10/23/2007, -3/+7Use CSS optimizers to shrink your CSS code down to one line. Use that copy in conjunction with your website, and save the original elsewhere since it is legible and editable.
The images one is probably where you can save most bandwidth though. Optimize your images for web use or leave out images that you just don't absolutely need! - Shiner6, on 10/23/2007, -0/+3Why would you need a mirror? This guy is a "digg effect" guru.
- dcoolidge, on 10/23/2007, -0/+3wouldn't load... heh
- Qwiggalo, on 10/23/2007, -1/+4Step one: Don't use WordPress
- bladefist, on 10/23/2007, -0/+3amen
- nonstop87, on 10/23/2007, -3/+6Dugg to see if it really works.
- FalseAlarm, on 10/24/2007, -0/+2Don't host 253 sites on the same server as your blog:
http://www.domaintools.com/reverse-ip/?hostname=fr ... - vvaduva, on 10/23/2007, -0/+2Bad title...every digg user will not click on this just for the heck of it!
- andrewcsayer, on 10/27/2007, -0/+2Site's down. Oh, the irony!
- yunus, on 10/23/2007, -0/+2but why should we take advice on how to handle Digg traffic from someone who cant handle Digg traffic?
- chad78, on 10/23/2007, -0/+2Check the link in the original commenter's comment- you don't even have to click it, just read it.
- RandomSchl, on 10/23/2007, -1/+3geez the site is loading slow...
- sahaskatta, on 10/23/2007, -0/+1don't know why your comment has been dugg down.
optimizing your css with tools such as http://www.cleancss.com is actually pretty helpful - freecodesnippet, on 10/23/2007, -0/+1What are you talking about?
- garbs, on 10/23/2007, -0/+1Who said anything about hacks? Simple PHP functions or CGI scripts (not to mention unjailed SSH access) will allow you to move through the directory structure. Guess what, if you have world readable/writable/executable files (ie. 777), other users on the server can see them and do whatever they want.
If you are going to make ***** blog posts, at least know what you are talking about. - freecodesnippet, on 10/23/2007, -0/+1Sorry for that, the database is having some problems.
- thetayloreffect, on 10/23/2007, -1/+2mediatemple.net
- freecodesnippet, on 10/23/2007, -0/+1Good work, Keep it up... Thanks
- missingnoh4x, on 10/23/2007, -0/+1It looks like the logo to some bad 70s TV show.
- mentor972, on 10/23/2007, -0/+1Yeah, but according to that site I have 3,642,023 sites on my ip address. I don't think that's true.
- freecodesnippet, on 10/23/2007, -0/+1Its a temporary template, :D ya you can help by finding a template for me, instead of criticizing.
- benroy, on 10/23/2007, -0/+1i was just going to say that.
- dynamok, on 10/23/2007, -0/+1does this get any better? They're giving us tips :)
- ebob9, on 10/23/2007, -1/+2I've always thought you should trim down your page to the bare minimum, so your server only returns HTML.
Post all images/content/CSS on a separate system, (googlepages, other high-bandwidth freehosts, etc). Reference them on pages but don't actually store them locally.
You could even theoretically use coral cache to cache the images and content on a freehost, then reference the coral cached content of THAT freehost on your site directly.
If you actually have access to the server, and/or a hardware L7 load balancer, you could do a lot more (Referrer checks and auto-redirect to coral cache, overflow policy to redirect to Coral after X number of simultaneous sessions, etc...)
Granted, this is all 'theoretical musings'. - freecodesnippet, on 10/23/2007, -0/+1Don't cry about it, that's not a big problem man... many people does that, and the next person won't even know... If someone is so worried about security, there are unlimited vulnerabilities on a shared server that are simply not exploited because the other person doesn't know he can. So it's better for you to go an get a dedicated box. And using malicious PHP script... CGI all these are also called hacks, hack is a way around something, why'd have to go mad about that word anyway?
- koweja, on 10/23/2007, -1/+2"Use blogger.com, it even lets you use your own domain name."
So even the author says that the best way to optimize WP for Digg is to not use it. - computerdan000, on 10/26/2007, -2/+3I love the irony of this. An Article about surviving the digg effect on a server that went down... due to the digg effect.
- alive1, on 10/23/2007, -0/+1Indeed. Most shared-hosts just use virtualhosts in their apache configs to separate users. Here's a tip: If you visit "randomstring213.yourdomain.com" and get any other page than your wwwroot, you're on a shared host that doesn't jail individual users, and you should escape ASAP or bork the service.
- BlakeEM, on 10/23/2007, -0/+1Loads for me, just really slow...
- capiCrimm, on 10/30/2007, -0/+1it's no longer a joke.
"Bandwidth Limit Exceeded" -
Show 51 - 100 of 121 discussions



What is Digg?
Check out the new & improved