Current time: 02-04-2012, 02:29 AM Hello There, Guest! (LoginRegister)


¿How to Add rel="nofollow" to the links of the posts?
08-08-2009, 04:44 PM
Post: #1
Solved: 1 Year, 4 Months, 5 Days, 12 Hours, 25 Minutes ago Question ¿How to Add rel="nofollow" to the links of the posts?
Well, I want to know how can I Add the rel="nofollow" to the links on the posts?

Thanks!

vBulletin/Wordpress/Magento/MyBB
Developer and Designer
Visit this user's website Find all posts by this user
08-08-2009, 05:58 PM (This post was last modified: 08-08-2009 05:59 PM by MattRogowski.)
Post: #2
Solved: 1 Year, 4 Months, 5 Days, 12 Hours, 25 Minutes ago RE: ¿How to Add rel="nofollow" to the links of the posts?
Line 858 of ./inc/class_parser.php:

PHP Code:
$link "<a href=\"$fullurl\" target=\"_blank\">$name</a>"

replace with:

PHP Code:
$link "<a href=\"$fullurl\" target=\"_blank\" rel=\"nofollow\">$name</a>"

Download My Plugins
My Personal Site - Twitter
[Image: eX4bjF]
Visit this user's website Find all posts by this user
08-08-2009, 08:31 PM
Post: #3
Solved: 1 Year, 4 Months, 5 Days, 12 Hours, 25 Minutes ago RE: ¿How to Add rel="nofollow" to the links of the posts?
(08-08-2009 05:58 PM)MattRogowski Wrote:  Line 858 of ./inc/class_parser.php:

PHP Code:
$link "<a href=\"$fullurl\" target=\"_blank\">$name</a>"

replace with:

PHP Code:
$link "<a href=\"$fullurl\" target=\"_blank\" rel=\"nofollow\">$name</a>"

Really thanks for that Matt!!!

Smile

vBulletin/Wordpress/Magento/MyBB
Developer and Designer
Visit this user's website Find all posts by this user
08-09-2009, 05:58 AM (This post was last modified: 08-09-2009 06:02 AM by FBI.)
Post: #4
Solved: 1 Year, 4 Months, 5 Days, 12 Hours, 25 Minutes ago RE: ¿How to Add rel="nofollow" to the links of the posts?
Thanks Matt Smile

regarding this http://en.wikipedia.org/wiki/Nofollow
and this http://googleblog.blogspot.com/2005/01/p...-spam.html

It's better to implement those one.
And how to include anonym link refer with that idea? Smile

Welcome to MyBB Indonesia. Get your local Bahasa (language) support directly from us.
Let's grow together with The Best Opensource MyBB Software! Cool
Find all posts by this user
08-09-2009, 09:58 AM
Post: #5
Solved: 1 Year, 4 Months, 5 Days, 12 Hours, 25 Minutes ago RE: ¿How to Add rel="nofollow" to the links of the posts?
This is a great idea so I made a plugin for it http://community.mybboard.net/thread-54469.html

Need help? Have you seen this?
Find all posts by this user
08-09-2009, 12:44 PM
Post: #6
Solved: 1 Year, 4 Months, 5 Days, 12 Hours, 25 Minutes ago RE: ¿How to Add rel="nofollow" to the links of the posts?
(08-09-2009 09:58 AM)TimB. Wrote:  This is a great idea so I made a plugin for it http://community.mybboard.net/thread-54469.html

Is good Tim, I preffer to do it manually Wink

vBulletin/Wordpress/Magento/MyBB
Developer and Designer
Visit this user's website Find all posts by this user
02-06-2010, 04:53 AM
Post: #7
Solved: 1 Year, 4 Months, 5 Days, 12 Hours, 25 Minutes ago RE: ¿How to Add rel="nofollow" to the links of the posts?
Does either the manual edit or the plugin interefere with the Multi Video Mycode Pack For MyBB?

http://mods.mybboard.net/view/multi-vide...e-for-mybb
Visit this user's website Find all posts by this user
02-06-2010, 12:36 PM
Post: #8
Solved: 1 Year, 4 Months, 5 Days, 12 Hours, 25 Minutes ago RE: ¿How to Add rel="nofollow" to the links of the posts?
(08-09-2009 05:58 AM)FBI Wrote:  Thanks Matt Smile

regarding this http://en.wikipedia.org/wiki/Nofollow
and this http://googleblog.blogspot.com/2005/01/p...-spam.html

It's better to implement those one.
And how to include anonym link refer with that idea? Smile

If we use anonym.to:

PHP Code:
$link "<a href=\http://anonym.to/?\"$fullurl\" target=\"_blank\" rel=\"nofollow\">$name</a>"

But you can use a script to anonimyze all you links, You can add it on the footer:
PHP Code:
<script src="http://js.anonym.to/anonym/anonymize.js" type="text/javascript"></script>

<script type="text/javascript"><!--
protected_links = "";

auto_anonymize();
//--></script> 

(02-06-2010 04:53 AM)Torengo Wrote:  Does either the manual edit or the plugin interefere with the Multi Video Mycode Pack For MyBB?

http://mods.mybboard.net/view/multi-vide...e-for-mybb

No, It works fine.

vBulletin/Wordpress/Magento/MyBB
Developer and Designer
Visit this user's website Find all posts by this user
02-06-2010, 02:03 PM
Post: #9
Solved: 1 Year, 4 Months, 5 Days, 12 Hours, 25 Minutes ago RE: ¿How to Add rel="nofollow" to the links of the posts?
thanks
Visit this user's website Find all posts by this user
03-16-2010, 11:20 AM
Post: #10
Solved: 1 Year, 4 Months, 5 Days, 12 Hours, 25 Minutes ago RE: ¿How to Add rel="nofollow" to the links of the posts?
thanks Rafael Smile

Welcome to MyBB Indonesia. Get your local Bahasa (language) support directly from us.
Let's grow together with The Best Opensource MyBB Software! Cool
Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication