Have you ever wished you could easily switch a whole bunch of old links in your blog to “nofollow”? For whatever reason? Because you discovered a blogger you’d frequently linked was a Republican. Or Democrat? Or maybe you used to link JohnChow but are upset to learn he is now charging visitors for links at his site?
So, you figured, “Charge me for links? I’ve been giving him free links! It’s my freely given links that gives him his PR=6! If he’s charging people, I want to take them all back!”
Hey, if you were a bit put out by Chow’s action, you are in good company!(1, 2, 3, 4 5, 6 and 7)
Unfortunately, you may also have thought it was too much of a hassle to go back through your old blog articles and find all the links to that hungry capitalist blogger (or the Democrat or Republican!) So, you did nothing.
Well, no more!
Today, after a few conversations at forums, I was inspired to write first plugin. I call it “NoOldSpamLinks”; it’s for WordPress blogs. No, it’s not thoroughly tested. I finished it, and tested it at my blog. It works at my blog. It doesn’t do anything very fancy, so presumably it will work at yours.
(Would you like proof that the plugin works? Visit my first post. It’s more than 10 days old; you’ll see the ‘nofollows’. )
If you install NoOldSpamLinks in your plugin folder and activate it, it will change all links to JohnChow’s blog that are older than 10 days to ‘nofollow’.
I bet you are wondering why 10 days? Well, that’s my evil scheme!
By giving follows for a brief time, you can be sure that the your blog will be listed as linking to those domains on services like Technorati because they won’t be able to tell the difference between your link and other links. That will ensure a person who is looking for reactions to the blog post you link can find your post. But, if you prefer a different period of time, you can change that.
Don’t have anything against John Chow, but know another site you’d like to delink? You may also edit the domain names on your blacklist. Add or subtract, but do make sure there is at least 1 domain in the list. Otherwise, deactivate the plugin.
- Get the plugin by clicking NoOldSpamLinks. The page should open: Copy the code and paste it into a text editor. Name it NoOldSpamLinks.php. Save.
- If you wish to customize, find the number of days, and change it from 10 to the time you prefer. Find the list of domains, delete or add as you wish. Save the edited file.
- Upload to your plugins directory and activate. You can check and see that all old links pointing to your list of domain names are now set to ‘nofollow’.
You know… it’s too bad this is a new blog with only 10 visits a day. I’d love zillions to learn of this, install it and see how fast a PR6 can fall!
June 14 Edited to reflect the way this really works.
Your wish may well be granted, though there seems to be a problem with the URL.
Brilliant idea, thanks for coding it…
(fellow PPPer)
I have had a look at the code now…
It would be great if you could somehow add an interface to allow adding and removing domains
Interesting idea. I can see where this plugin could be useful beyond just John Chow.
I have nothing personal against Chow myself. I just can’t support some of his money making schema. I’ve been championing removing nofollow for quite a while. I also know there’s a lot of people who just follow what Chow does. I felt necessary to weigh in on the topic to help educate bloggers why they may not want to take on this specific practice.
Thanks for the link.
Well, I just put you on my ‘Evil-doers I Love the Most’ list. This is absolutely one of the best plugin ideas I have seen in a long time, excluding Dofollow of course!
I am not a WordPress user (yet) and was wondering if this will also Nofollow links in Comments as well?
Ooh, great point. I hadn’t thought of that. Though I have to admit a rather late night working on my new blog design (not up yet) so little sleep and I’m a bit groggy this morning.
So thanks for creating this. And sorry that I only commented on Chow. I’ll definitely down and watch the development of this plugin.
If you based it around a GPL license, you could actually just take a few existing plugins, such as the nofollow wikipedia plugin, add a loop for recursion through your array, and borrow an interface from one of the other simple plugins.
To add to what Any said. Blogger FTP can adapt the scripting from WordPress. I use a PhpBB backend which includes templating, admin functions and authorization.
It would be easy to adapt the WP script into this environment. Looking forward to your advancements in the coding, will be looking at it intently.
Really interesting idea!