Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Blogs and Blogging (http://www.greenguysboard.com/board/forumdisplay.php?f=8)
-   -   Turn off nofollow in WP? (http://www.greenguysboard.com/board/showthread.php?t=39733)

virgohippy 2007-04-18 03:58 AM

Turn off nofollow in WP?
 
Some people here have demonstrated an interest in establishing a blogging community. The easiest way to do this is leave comments on each others' blogs and to give them motivation to leave comments on yours with SE friendly backlinks.

Unfortunately, by default Wordpress has comments set to "nofollow" (I'm posting this because I just recently learned this myself - sorry to those who've left comments in the past |dizzy|). WP doesn't have an option in the admin to turn this off so to change that you'll have to edit your code.

Edit: hony suggested a better way using the plugin dofollow.

How to disable "nofollow" comments in WP:

1. Open the wp-includes/comment-function.php file.
2. Do a find for "nofollow" in notepad, or whatever code editor you use.
3. Edit the line

Code:

$return = "$author";
change it to

Code:

$return = "$author";
4. Update the file on your server.
5. Give and get comments. |thumb

If you're worried about comment spam I've heard numerous people mention they're more than satisfied with Akismet. It's free and easy.

Pleasant blogging.

~ |virgohippy|

hony 2007-04-18 04:06 AM

There is a plugin called 'dofollow' for those who don't want to edit the code.

http://wp-plugins.net/plugin/sem-dofollow/

virgohippy 2007-04-18 04:22 AM

Now that takes the steam out of most of my thread. |loony|

Thanks for the suggestion hony. My code is back to normal and the plugin works just fine. |thumb

hony 2007-04-18 04:52 AM

Sorry that's me -- whenever I try to be helpful I'm just irritating! :-/

walrus 2007-04-18 09:42 AM

Quote:

Originally Posted by virgohippy (Post 343180)
Now that takes the steam out of most of my thread. |loony|

Thanks for the suggestion hony. My code is back to normal and the plugin works just fine. |thumb

I use the plugin cause I was too lazy to look through the code. I'd personally prefer the edit code mode as that's one less plugin to run. So I still thank you for posting the code mod.

For those who would want to use the do follow plugin I posted the link.

virgohippy 2007-04-18 02:36 PM

Quote:

Originally Posted by walrus (Post 343224)
I use the plugin cause I was too lazy to look through the code. I'd personally prefer the edit code mode as that's one less plugin to run. So I still thank you for posting the code mod.

If you don't mind keeping detailed notes of all hacks, which saves you hours of wasted "What the fuck?" time when you do upgrades. |loony|

I like using Plugins that other people have already written. Nothing beats add and forget. |thumb

walrus 2007-04-18 03:12 PM

Quote:

Originally Posted by virgohippy (Post 343293)
If you don't mind keeping detailed notes of all hacks, which saves you hours of wasted "What the fuck?" time when you do upgrades. |loony|

I like using Plugins that other people have already written. Nothing beats add and forget. |thumb

I'm no where near that organized but I do at least have a good enough memory when 9 months down the road I want to hack another blog up I'll know to search posts here from virgohippy.

Fonz 2007-04-18 04:41 PM

So, if you have a good comment spam filter like Akismet you would recommend using that plugin?

walrus 2007-04-18 04:55 PM

The short answer is yes but unless you are actively participating in doing comments with people it really doesn't matter.

hony 2007-04-18 09:29 PM

That's funny, I actually write my own plugins to avoid hacking the code. I have no hope of remembering everything I've done.

Now PHPBB -- now that's a different story; my own hacked code base is totally out of control. I cringe every time a security update comes out and I have to integrate it with my version. :(

oldbrad 2007-04-20 10:59 AM

Is the nofollow default on blogroll? I have some trades and don't want to be unknowingly nofollowing them, but i have searched se's to see my links to them and can't find any, but i cant find any code that says nofollow either.

walrus 2007-04-20 12:22 PM

No the "nofollow" is only a part of comments links.

It originated back before blogging had any means of spam filtering as the blogging brain trust figured that the "nofollow" would discourage spammers as they would not be able to gain link popularity because of it.

oldbrad 2007-04-21 03:24 AM

cool. i checked again before i saw your reply. I would have kicked my own ass if it had nofollowed my trades.

Thanks.


All times are GMT -4. The time now is 06:33 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc