PDA

View Full Version : Miscellaneous Hacks - Add rel="nofollow" Attribute To URLs - Reduce Spam - Increase Pagerank


1Unreal
03-03-2009, 10:00 PM
Please rate and mark as Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=207314)

This little hack will edit all the URLs within posts and signatures and add a rel="nofollow" attribute to them.

This will do a number of things. First and most notably, it will reduce spammers because search engines will no longer follow these links. It will also stop your pagerank from leeking onto other sites. Also, some people say that adding nofollow to your URLs will increase your Pagerank. This is more of a matter of opinion, make up your own mind about it :p

Change Log
1.0.0 - Released
1.1.0 - Added option - Change links in signatures

maxicep
03-04-2009, 11:48 AM
vbSEO users already have that but thanks anyway ..

1Unreal
03-04-2009, 12:24 PM
vbSEO users already have that but thanks anyway ..

Alot of people don't want to buy vBSEO so this is a nice free alternative :)

River_rush
03-04-2009, 01:16 PM
Google announced in early 2005 that hyperlinks with rel="nofollow" attribute[3] would not influence the link target's PageRank. In addition, the Yahoo and Windows Live search engines also respect this tag.[4]

How the attribute is being interpreted differs between the search engines. While some take it literally and do not follow the link to the page being linked to[citation needed], others still "follow" the link to find new web pages for indexing. In the latter case rel="nofollow" actually tells a search engine "Don't score this link" rather than "Don't follow this link." This differs from the meaning of nofollow as used within a robots meta tag, which does tell a search engine: "Do not follow any of the hyperlinks in the body of this document.".

http://en.wikipedia.org/wiki/Nofollow

1Unreal
03-04-2009, 01:44 PM
Google announced in early 2005 that hyperlinks with rel="nofollow" attribute[3] would not influence the link target's PageRank. In addition, the Yahoo and Windows Live search engines also respect this tag.[4]

How the attribute is being interpreted differs between the search engines. While some take it literally and do not follow the link to the page being linked to[citation needed], others still "follow" the link to find new web pages for indexing. In the latter case rel="nofollow" actually tells a search engine "Don't score this link" rather than "Don't follow this link." This differs from the meaning of nofollow as used within a robots meta tag, which does tell a search engine: "Do not follow any of the hyperlinks in the body of this document.".

http://en.wikipedia.org/wiki/Nofollow

Thanks for clarifying some stuff there. The pagerank thing is believed by some people, I was sceptical though :rolleyes:

YsTyle
03-04-2009, 01:56 PM
thanks :) installed

AzzidReign
03-04-2009, 02:56 PM
Thanks! This will work well on my sites that don't have vBSEO installed :)

BSMedia
03-04-2009, 04:06 PM
First and most notably, it will stop spammers because search engines will no longer follow these links.


It doesn't stop any spiders or bots from following links.

1Unreal
03-04-2009, 04:28 PM
It doesn't stop any spiders or bots from following links.

Major search engines like Google, Yahoo, Ask, ect...wont follow these links.

djbaxter
03-04-2009, 04:57 PM
This will do a number of things. First and most notably, it will stop spammers because search engines will no longer follow these links.

No, it won't. It may stop spammers from benefitting as much from those links but it won't stop them from posting the spam.

It will also stop your pagerank from leeking onto other sites.

"PR Leak" or "PR Bleed" is a persistent and longstanding myth, but it is nonetheless a myth. Your forum pages don't lose PageRank by linking to other pages.

Also, some people say that adding nofollow to your URLs will increase your Pagerank.

Those people, whoever they are, would be totally wrong.

1Unreal
03-04-2009, 05:35 PM
When spammers realise that you have nofollow links they will stop spamming you. So it reduces spam...

And there is such thing as PR leek. For example, iframes regularly leek PR. Although it's not benefitial to anyone.

pein87
03-04-2009, 06:53 PM
Thanks installed.

Brandon Sheley
03-04-2009, 07:05 PM
nice mod, good idea for those not using vbseo already
but I'll have to agree, this mod shouldn't state that it will "stop spam"
I understand what you are saying, but many will just argue with this statement ;)

* Brandon Sheley clicks install

projectego
03-04-2009, 07:36 PM
/me clicks install

C138 Kaysone
03-05-2009, 01:38 AM
Is it good if i can use both? i have vbseo installed but this looks good to use too :)

1Unreal
03-05-2009, 04:28 AM
nice mod, good idea for those not using vbseo already
but I'll have to agree, this mod shouldn't state that it will "stop spam"
I understand what you are saying, but many will just argue with this statement ;)

* Loco.M clicks install

Fair point, I changed it to reduce.

Is it good if i can use both? i have vbseo installed but this looks good to use too :)

vBSEO can do this for you anyway :rolleyes:

teuor
03-05-2009, 11:11 AM
installed , many thanks

digicom
03-05-2009, 12:28 PM
Thanks Installed :up:

picamajstori
03-05-2009, 05:28 PM
Forgive me for sounding daft, but I`m new here. How do I install a mod?

Vitaly
03-05-2009, 07:11 PM
This one still works

https://vborg.vbsupport.ru/showthread.php?t=145402

mrusdy
03-05-2009, 10:28 PM
Installed :) thanks

Seiyaboy
03-06-2009, 12:35 AM
I have a quick question. Does anyone know if this mod will conflict with vbAnonymizor? Since both mods edit the links, I'm assuming there might be some conflicts.

1Unreal
03-06-2009, 02:11 PM
I have a quick question. Does anyone know if this mod will conflict with vbAnonymizor? Since both mods edit the links, I'm assuming there might be some conflicts.

It should be ok, however Ive not looked at the code of vbAnonymizor. So I can't guarantee anything. Its worth a try though.

C138 Kaysone
03-07-2009, 04:28 AM
Forgive me for sounding daft, but I`m new here. How do I install a mod?

go to your admincp, go down to manage products and download the xml file to your desktop and just choose that file and then upload, your all set

as7apcool
03-08-2009, 01:43 AM
Thanks alot for you

AGISB
03-08-2009, 09:37 AM
Is it possible to only change links in posts and leave signatures alone? I like to allow some usergroups to get a benefit of the page rank but leave the spammers out.

1Unreal
03-09-2009, 10:30 AM
Is it possible to only change links in posts and leave signatures alone? I like to allow some usergroups to get a benefit of the page rank but leave the spammers out.

Go into the plugin manager and edit the plugin named: add rel=nofollow" to urls

Then delete this line:

$this->post['signature'] = str_replace('target=', 'rel="nofollow" target=', $this->post['signature']);

Save it and it will only change the URLs in posts and not signatures :)

lauxanh
03-09-2009, 08:04 PM
nice mod, good idea for those not using vbseo already
but I'll have to agree, this mod shouldn't state that it will "stop spam"
I understand what you are saying, but many will just argue with this statement ;)

* Loco.M clicks install


Well, it does some how, many spams user posting to forum to get backlinks.
If we notify them that this forum is Nofollow. They may give up. :d

Thanks, downloaded and installed.

1Unreal
03-09-2009, 09:16 PM
Is it possible to only change links in posts and leave signatures alone? I like to allow some usergroups to get a benefit of the page rank but leave the spammers out.

I liked this idea so I added an option to decide if you want to edit the signatures in vBulletin options.

Thanks ;)

Yonatan
03-10-2009, 11:39 AM
Thanks :)
Mark As Installed & Nominated :)

AGISB
03-11-2009, 11:23 AM
Works perfectly so far. Marked as installed and nominated

Al-Mothafar
03-11-2009, 03:59 PM
Aha , I Install it , Thanks.

Mongez
03-11-2009, 05:08 PM
Many thanks

first can you change rel = "nofollow" to external links only ?

second can you please add option to nofollow in Visitor Messages & Albums ?

thanks again

JoyceBabu
03-18-2009, 09:14 AM
Thanks a lot for the product. I have installed the product, unfortunately nothing happened. Do I have to do anything other than importing the product?

first can you change rel = "nofollow" to external links only ?

second can you please add option to nofollow in Visitor Messages & Albums ?
Great suggestions. + 1 from me

Mongez
03-18-2009, 06:30 PM
unfortunately nothing happened. Do I have to do anything other than importing the product?


Yep

in your AdminCP > Forum Options > rel="dofollow" Options >

Add rel="dofollow" to Signatures? (Choose yes)

If it doesn't work rebuild the links in your existing posts

you need to go to AdminCP > Maintenance > Update Counters > Rebuild Post Cache

JoyceBabu
03-18-2009, 06:48 PM
Thanks Mongez. Actually 'DoFollow' means there should be no 'rel="nofollow"' attribute, right? I think
if($vbulletin->options[reldofollowsig] == 'Yes'){
// Ad nofollow

should be
if($vbulletin->options[reldofollowsig] != 'Yes'){
// Ad no follow


Because the option page says 'DoFollow' and not 'NoFollow'. Anyways, thanks a lot for the plugin. It saved me a lot of time and worries :)

Mongez
03-18-2009, 08:40 PM
Thanks Mongez. Actually 'DoFollow' means there should be no 'rel="nofollow"' attribute, right? I think
if($vbulletin->options[reldofollowsig] == 'Yes'){
// Ad nofollow

should be
if($vbulletin->options[reldofollowsig] != 'Yes'){
// Ad no follow


Because the option page says 'DoFollow' and not 'NoFollow'. Anyways, thanks a lot for the plugin. It saved me a lot of time and worries :)

Yes you are right :)

but this is the title created by the Coder :D

don't worry all things is tine

only if the plugin doesn't work do what i tell you in my last reply :up:

regards

jhei21
03-27-2009, 12:22 AM
Great Plugin!

birdie
03-27-2009, 01:52 AM
When spammers realise that you have nofollow links they will stop spamming you. So it reduces spam...So why is the spam on all my forums getting worse and I have had a no-follow mod in place for over a year now?

birdie
03-27-2009, 01:57 AM
This one still works

https://vborg.vbsupport.ru/showthread.php?t=145402That mod (and yes it still works on 3.8) allows me to specify external URL's that are not do not get the nofollow attribute to (eg to my other sites if a link is posted to them). I see nothing in this current mod that allows this (I stand to be corrected if someone can point this out), so will stick to the other one.

shinng
06-02-2009, 06:31 AM
useful. installed

4nawadir.com
06-02-2009, 09:19 AM
Thanks,
Installed

almohd
06-02-2009, 09:46 AM
Thanks

W!cKeD
06-02-2009, 10:09 AM
* Thanks & Installed * :up:

Works with vbAnonymizer (https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=vbanonymizer_37) you can check this, look in your website source code ;)

erel34
06-03-2009, 05:24 AM
The NoFollow link attribute (rel=”nofollow”) was originally created to block search engines from following links in blog comments, due to the amount of blog comment spamming.
The theory is that if spammers are spamming in blog comments to get better SEO and anchored links for their sites, NoFollow would render such spam useless. Problem is, spammers still spam.
Now, NoFollow has been adopted beyond blog comments. Wikipedia is now using NoFollow for external links and Google recommends that paid links use a NoFollow attribute.
Here are 13 reasons why NoFollow is a failure.
1. NoFollow = NoWorky. Using NoFollow in blog comments, the original intent of the tag, does nothing to discourage comment spammers. Using other anti-spamming tools such as question, math and plugins such as Akismet and SpamKarma for Wordpress is much more effective.
2. If a blogger moderates comments, there is no need for a NoFollow attribute. “Everyone who passes a human inspection should get the link love.”
3. Since the use of NoFollow in comments on Wordpress blogs is default, many bloggers do not even realize they are using NoFollow.
4. NoFollow=NoValue. Why use NoFollow on sites, text ads, and blogs if there is no value in terms of search engine indexing? What if they made the Yahoo! directory nofollow? Would anyone continue to purchase listings? Obviously the value of that directory would be zero of nofollow tags were applied to the listings.
5. Linking to someone with a NoFollow attribute is a sign of not trusting them. It’s like reaching to shake someone’s hand, but stopping to put on a pair of latex gloves.
6. No Follow sucks because the search engines (particularly Google) can’t make up their mind about when and how it should be used, thus causing confusion among inexperienced webmasters who do STUPID things like No Follow ALL outgoing links from their website to “protect the site from page rank leakage” and other silly ideas.
7. No-follow is a poor search engine’s solution to conceal its own failure to rank websites appropriately. What’s next, No-linking?
Search engines should be able to develop a method of identifying and devaluing links to spam sites which were placed in blog comments. Why should everyone who posts in blog comments suffer from the actions of a greedy few spammers.
8. Commenting on a blog post is the same as adding more relevant to that blog post. A thought provoking one sentence post can lead to pages of comments. If someone takes the time to help build your site’s content via posting comments, it is professional courtesy to give them some link love.
9. Putting NoFollow on Wikipedia (http://www.searchenginejournal.com/?p=4288) is like putting Grey Poupon on a Spam sandwich.(Or like putting perfume on a pig.)
Taking Wikipedia to task over nofollow is fun but ultimately you need to take them to task for why they implemented nofollow in the first place - that is, to prevent spam. Which in turn means that the way Wikipedia was setup was flawed because it opened itself up to easy spamming.
Therefore, instead of just letting Wikipedia take the easy way out (because ultimately it’s an important resource for many people and replacing it would be tough), they should look at ways into changing their systems so they are not as open to spamming any more.
10. Text link advertisements which use a NoFollow make no sense. If you want to spread your Google juice, why use a link-condom?
11. Even Wordpress founder Matt Mullenweg (http://photomatt.net/2007/01/22/wikipedia-nofollows) says NoFollow was a failure; “In theory this should work perfectly, but in practice although all major blogging tools did this two years ago and comment and trackback spam is still 100 times worse now. In hindsight, I don’t think nofollow had much of an effect, though I’m still glad we tried it.”
12. Search Engines follow NoFollow. Yahoo has been known (http://www.searchenginejournal.com/?p=2788) to count NoFollow links as backlinks in SiteExplorer. So, if you’re goal in comment spamming to to build backlinks, which builds your site’s value in terms of selling advertising (TLA, ReviewMe, SEOmoz’s PageStrength and other metrics programs use Yahoo Backlinks as valued criteria), NoFollow is useless.
13. NoFollow Sucks. Check It!
What are your thoughts on NoFollow? Do you support the use of NoFollow in Wikipedia or as a way to identify paid links?
Have more reasons why NoFollow is a failure? Please feel free to share them below.

quote (http://www.searchenginejournal.com/13-reasons-why-nofollow-tags-suck/4410/)

LanciaStratos
07-24-2009, 05:45 AM
A perfect plugin - just what I was looking for and working great on 3.7. Thanks so much, 1Unreal!

RC.
07-24-2009, 07:32 AM
Great alternative for people don't have vbseo.

djbaxter
07-24-2009, 12:24 PM
Add rel="nofollow" Attribute To URLs - Reduce Spam - Increase Pagerank

Google has changed its policy on how it treats PageRank. A link with nofollow will still not pass PageRank to that link, but the PR that would have otherwise been passed becomes wasted and is no longer available to other outgoing links. From a PR standpoint, this dumb move by Google essentially kills PR sculpting and nofollow in one blow.

Shaheen
08-06-2009, 02:00 PM
will try it . thx

Sweeks
08-10-2009, 10:37 AM
Excellent modification, thank you :)

SİMAR
08-11-2009, 10:58 AM
everyone but nice plug kullanmiyor vBSEO thank you

KrisP
08-12-2009, 10:05 PM
So it ads nofollow to internal links in posts. I am wondering if that is a disadvantage in any way?

(Works perfectly on 3.7.4)

djbaxter
08-12-2009, 10:22 PM
So it ads nofollow to internal links in posts. I am wondering if that is a disadvantage in any way?

Yes, for Google it is a disadvantage now. See https://vborg.vbsupport.ru/showpost.php?p=1854624&postcount=49

You have a link in one of your posts to another thread or post on your forum. Potentially, that could spread some PageRank to the other thread. If you nofollow that link, you don't get the PR benefit and all you've managed to do is decrease the amount of PR available to be passed with any othr links on that forum page.

That dumb move by Google means that you should not nofollow ANY internal links any more. I would also question whether the use of nofollow for any link at all makes any sense at all from a Google SEO standpoint today.

KrisP
08-12-2009, 10:39 PM
Dosent this argument imply that you could increase PR just by floating your site with internal links.

djbaxter
08-12-2009, 10:47 PM
Dosent this argument imply that you could increase PR just by floating your site with internal links.

No. You can only pass along a portion of what PR you already have. However, internal links can spread PR more evenly throughout a site.

Google the term "PR sculpting". What some/many people used to advocate was using nofollow on certain internal links to maximize the funneling of PR to the most important pages. With the change of policy by Google, this no longer happens.

KrisP
08-12-2009, 10:56 PM
Well, the only page that has a pagerank on my forum is the frontpage. The rest is zero. As long as this is the case, I presume then nofollow on internal links will have a minimal impact?

djbaxter
08-12-2009, 11:24 PM
Well, the only page that has a pagerank on my forum is the frontpage. The rest is zero.

Doubtful. You're talking about Toolbar PR, not actual PR.

As long as this is the case, I presume then nofollow on internal links will have a minimal impact?

Nope. Read my posts again.

ricardoNJ
08-23-2009, 03:51 AM
Testing....

MozyMac
08-23-2009, 08:43 AM
thanks but already using vBSEO :)

neeshu
09-12-2009, 05:11 AM
it seems that even the internal links have become no follow useless because the crawler will not be able to crawl the site anymore :(

samiro
09-15-2009, 08:13 PM
must add this to the links in blogs...

1Unreal
09-25-2009, 09:22 AM
it seems that even the internal links have become no follow useless because the crawler will not be able to crawl the site anymore :(

Only links posted in posts. Links to your forums, nav bars ect... will not be effected.

RedPoint
09-26-2009, 03:29 PM
Whats this :)
<a href="report.php?p=44705" rel="nofollow"><img class="inlineimg" src=" ....">

but in the signature, its all free
<!-- sig -->
<div class="signature">

<!-- <hr width="100%" color="#707273"> -->
<a href="http://www.xxxxxx-free.info" target="_blank">www.xxxxx-free.info</a> Free scripts
</div>
<!-- / sig -->

Add rel="dofollow" to Signatures? is Yes

SMXKidd
09-28-2009, 01:18 AM
I don't think this even works. I just checked the status of my links after implementing this when I selected both 'yes' and 'no' in the options. Both times links remain dofollow.

djbaxter
09-28-2009, 01:32 AM
I don't think this even works. I just checked the status of my links after implementing this when I selected both 'yes' and 'no' in the options. Both times links remain dofollow.

Stop worrying about whether or not it works and just uninstall it.

See http://forums.seo.com/showthread.php?t=5167 and http://www.seomoz.org/blog/whiteboard-friday-matt-cutts-on-nofollow

Samson
12-04-2009, 04:15 PM
Many thanks

first can you change rel = "nofollow" to external links only ?

thanks again

Is there anyway to do this? Thanks in advance...

birdie
12-04-2009, 06:48 PM
Is there anyway to do this? Thanks in advance...This is what it does!!!!

Samson
12-04-2009, 07:18 PM
To external links only. Meaning that the internal links will be "follow" links.

Anyone know how to do that? Thanks,

ti07shadow
12-10-2009, 06:20 AM
Google's explaination..

How does Google handle nofollowed links?

We don't follow them. This means that Google does not transfer PageRank or anchor text across these links. Essentially, using nofollow causes us to drop the target links from our overall graph of the web. However, the target pages may still appear in our index if other sites link to them without using nofollow, or if the URLs are submitted to Google in a Sitemap. Also, it's important to note that other search engines may handle nofollow in slightly different ways.


"Nofollow" provides a way for webmasters to tell search engines "Don't follow links on this page" or "Don't follow this specific link."

Samson
12-11-2009, 03:19 PM
I know what nofollow links are. I'm asking if anyone can make it so that if there are links on my forum, to other parts of my own site, that they are follow links. Only the links that leave the forum should be nofollow.

Is anyone able to do this? If not I might have to find another hack. Thanks again in advance.

a9eel
12-23-2009, 02:29 PM
thx man

saviola8x
12-23-2009, 05:29 PM
please update for vb4.
thanks

samiro
01-30-2010, 11:31 AM
yes
must update to vb4

metalguy639
02-17-2010, 09:00 AM
I installed this before and I have now uninstalled it because it broke my links in my forum descriptions. I had 2 forum descriptions that I had put html links in and this hack broke those.

ins3
09-07-2010, 10:29 AM
Works on vb 4.0

chrisife
09-07-2010, 11:05 AM
Looking to install this mod.

t-h-c
09-13-2010, 11:15 AM
Thanks alot!

georgedd
09-13-2011, 06:45 AM
Just a warning to people using this plugin- a mod on our forums just discovered a bug with this script. In a post if the user types:

target=

The script inadvertently will alter that to:

rel="nofollow" target=

DNN
09-25-2011, 04:46 PM
nice product

Eslob
01-29-2012, 10:10 AM
i have vbseo and using this too.

and i'm happy with my site results.

Occosion
12-04-2012, 08:49 AM
thanks installed
and what about internal links in post?

dethfire
07-26-2013, 02:42 PM
does this nofollow internal links?

hinomaru
11-18-2013, 04:39 AM
This working with vb4

Goomzee
11-21-2013, 05:14 AM
Just a warning to people using this plugin- a mod on our forums just discovered a bug with this script. In a post if the user types:

target=

The script inadvertently will alter that to:

rel="nofollow" target=

i am not using any seo so let me know from where i change above code

postcd
03-11-2014, 03:28 PM
Please how to have nofollow sigs and dofollow post links?

--> / AdminCP / Plugins & Products / Plugin Manager / add rel=nofollow" to urls / Edit

And replace plugin code by:

$this->post['message'] = str_replace('target=', 'target=', $this->post['message']);
if($vbulletin->options[reldofollowsig] == 'Yes'){
$this->post['signature'] = str_replace('target=', 'rel="nofollow" target=', $this->post['signature']);
}

that will not add nofollow to post links. Do only on your risk, but in my case worked

ozzy47
03-11-2014, 03:34 PM
Replace the contents of the plugin, add rel=nofollow" to urls with this:

//$this->post['message'] = str_replace('target=', 'rel="nofollow" target=', $this->post['message']);
if($vbulletin->options[reldofollowsig] == 'Yes'){
$this->post['signature'] = str_replace('target=', 'rel="nofollow" target=', $this->post['signature']);
}

BryceW
08-07-2014, 02:40 AM
Not working in VB 3.8.8

Alfa1
08-08-2014, 12:08 AM
does this nofollow internal links?
yes.

NOCTURNES
09-24-2015, 08:25 AM
Thanks a lot its working on my forums.