vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Add rel="nofollow" Attribute To URLs - Reduce Spam - Increase Pagerank (https://vborg.vbsupport.ru/showthread.php?t=207314)

1Unreal 03-03-2009 10:00 PM

Add rel="nofollow" Attribute To URLs - Reduce Spam - Increase Pagerank
 
1 Attachment(s)

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

Quote:

Originally Posted by maxicep (Post 1760013)
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

Quote:

Originally Posted by River_rush (Post 1760104)
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

Quote:

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

Quote:

Originally Posted by BSMedia (Post 1760276)
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

Quote:

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.

Quote:

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.

Quote:

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 ;)

[high]* Brandon Sheley clicks install[/high]

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

Quote:

Originally Posted by Loco.M (Post 1760432)
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 ;)

[high]* Loco.M clicks install[/high]

Fair point, I changed it to reduce.

Quote:

Originally Posted by C138 Kaysone (Post 1760678)
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

Quote:

Originally Posted by Seiyaboy (Post 1761468)
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

Quote:

Originally Posted by picamajstori (Post 1761243)
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

Quote:

Originally Posted by AGISB (Post 1763089)
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:

PHP Code:

$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

Quote:

Originally Posted by Loco.M (Post 1760432)
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 ;)

[high]* Loco.M clicks install[/high]


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

Quote:

Originally Posted by AGISB (Post 1763089)
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?

Quote:

Originally Posted by Mongez (Post 1765853)
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

Quote:

Originally Posted by JoyceBabu (Post 1771022)
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
Code:

if($vbulletin->options[reldofollowsig] == 'Yes'){
// Ad nofollow

should be
Code:

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

Quote:

Originally Posted by JoyceBabu (Post 1771322)
Thanks Mongez. Actually 'DoFollow' means there should be no 'rel="nofollow"' attribute, right? I think
Code:

if($vbulletin->options[reldofollowsig] == 'Yes'){
// Ad nofollow

should be
Code:

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

Quote:

Originally Posted by 1Unreal (Post 1760356)
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

Quote:

Originally Posted by Vitaly (Post 1761293)

That 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.


All times are GMT. The time now is 11:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01615 seconds
  • Memory Usage 1,826KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete