Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Two-Step External Links for Link Weight Retention Details »»
Two-Step External Links for Link Weight Retention
Version: 1.05, by aspen0 aspen0 is offline
Developer Last Online: Jun 2015 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 07-01-2009 Last Update: 01-25-2011 Installs: 52
Uses Plugins
Code Changes Additional Files Translations  
No support by the author.

Two-Step External Links
Thought up by Chris Beasley, coded by Chris Bowyer, copyright Jalic Inc. 2009.

Compatibility
Tested on 3.7.x and 3.8.x, may work on older versions as well.

Description
With Google's recent change to nofollow calculations using nofollow on your user submitted external links will still harm your site by depriving your internal links of PageRank. (See here.)

Forums that had installed nofollow on signature or other such user contributed links thinking they were controlling this are in fact no longer doing so.

One solution is a two-step linking process presenting a disclaimer on a redirect page (filled
with your internal links) to mitigate link weight loss. For a full explanation of benefits and the math behind them see the official page (a wordpress plugin is also available there).

Two-Step External Linking

This method is also useful for sites needing a disclaimer before sending people to third party user contributed websites for legal or liability reasons.

Using this plugin can reduce the amount of pagerank sent through user contributed signature and other links by over 90%, for every post or thread on your forum. It also allows you to keep using nofollow to indicate to search engines that if the link is to a bad neighborhood you are not at fault, while not wasting link weight on the nofollow link.

Settings
The settings are located in vBulletin Options -> vBulletin Options -> All the way at the bottom. You can do the following:

1. Create a white list of domains or urls exempt from redirecting.
2. Decide to apply "nofollow" to the external link that shows on the redirect page or not.
3. Turn on two-step linking for signature links.
4. Turn on two-step linking for post/profile visitor message/blog links.
5. Turn on two-step linking for user profile/memberlist links.
6. Define your redirect warning disclaimer paragraph.
7. Decide to use an additional automated meta-redirect or not, and the second delay.


Statistics

New Files: 1
File Edits: 2
Products to Install: 1
Readme included

Additional Uses
Because the actual redirect page is fairly independent of vbulletin and easy to access, you can run any other external links from any software on your site through it simply with the format of example.com/forums/externalredirect.php?url=http://www.externalexample.com. So if you're able to edit your CMS or otherwise manually format your links as such, they will be run through the redirect as well.

Support

I'll do my best to provide support in this thread only for people who have it installed.

Version History

1.00 - Initial Release
1.01 - bug fixes
1.02 - bug fixes, added admin toggle to allow you to choose to only show redirects to guests.
1.03 - bug fixes
1.04 - bug fixes, non-www urls & sigpic problems fixed.
1.05 - Jan 25th 2011, small xss flaw fixed

Download Now

File Type: zip two-step-external-link.zip (4.7 KB, 242 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 07-11-2009, 08:58 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure if you read aspen's initial posts, but they explain the SEO benefits. They also explain why adding nofollow tags to external links doesn't work the way it used to.
Reply With Quote
  #103  
Old 07-12-2009, 04:07 PM
aspen0 aspen0 is offline
 
Join Date: Apr 2003
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Loco.M View Post
I've yet to see how this would help at all with SEO
It's no different that adding a nofollow tag to external links IMO
Has anyone installed this and done nothing else and has seen positive results from it?

regards
Please see here:

http://www.mattcutts.com/blog/pagerank-sculpting/

At least on Google for sure, nofollow no longer provides any SEO benefit. Zip zero zilch.
Reply With Quote
  #104  
Old 07-14-2009, 09:40 AM
dondavis dondavis is offline
 
Join Date: Feb 2009
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello thank you for mod. But i cant make it work for me. I have done all file mods, put php file in forum root, installed product. But no effect . I have vbseo installed maybe that's the problem. Can you help me please with some advice?
Reply With Quote
  #105  
Old 07-15-2009, 10:23 AM
jawatkin jawatkin is offline
 
Join Date: Apr 2007
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TWTCommish View Post
Okay, to anyone having issues with images in signatures: it appears there's a conflict only when a user is using an upload signature picture and an externally-linked image at the same time.
The fix you posted does indeed work, but I only allow my users to use an upload signature and it happens to me, as well. It only happens on signatures that have an image that is linked. At least, as far as I can tell. This signature triggered the issue:

Code:
[URL="http://www.myforum.com/forum/album.php?albumid=3125&pictureid=31032"][SIGPIC][/SIGPIC][/URL]
Now, what I did find was that... in the user's profile, in the "About Me" section, it works perfectly. But in showthread, it just displays the sigpic tags. HTH.
Reply With Quote
  #106  
Old 07-15-2009, 05:38 PM
aspen0 aspen0 is offline
 
Join Date: Apr 2003
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dondavis View Post
Hello thank you for mod. But i cant make it work for me. I have done all file mods, put php file in forum root, installed product. But no effect . I have vbseo installed maybe that's the problem. Can you help me please with some advice?
There may be a conflict with VBseo. You could have also done the file edits incorrectly. Please doublecheck your work, they can be confusing, for instance one edit needs to go just inside a closing } in a line of 3 } and it can be easy to misread it and put it after all three, instead of after just the first two.
Reply With Quote
  #107  
Old 07-17-2009, 01:58 AM
ade5675 ade5675 is offline
 
Join Date: Mar 2007
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Loco.M View Post
I've yet to see how this would help at all with SEO
It's no different that adding a nofollow tag to external links IMO
Has anyone installed this and done nothing else and has seen positive results from it?

regards



Some sections on my forum are mostly driven by RSS feeds from other external sites so I have lots and lots of links to other sites. Trust me .. I am seeing a big positive difference in what the mod is doing already on my site. I had once used the rel="nofollow" anchor tag attribute without any value-added noticed so I say stay clear of it.

I am monitoring this mod on my site and will provide updates later. So far, it works well for me.

You can check for yourself > Naija Discussion Forum


:up: :up: :up:
Reply With Quote
  #108  
Old 07-19-2009, 04:25 AM
dondavis dondavis is offline
 
Join Date: Feb 2009
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aspen0 View Post
There may be a conflict with VBseo. You could have also done the file edits incorrectly. Please doublecheck your work, they can be confusing, for instance one edit needs to go just inside a closing } in a line of 3 } and it can be easy to misread it and put it after all three, instead of after just the first two.
Yeah thank you. It was my mistake in file edits.
Reply With Quote
  #109  
Old 07-22-2009, 10:36 PM
Stefanus Stefanus is offline
 
Join Date: Aug 2007
Location: RSA - Boerland
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
The following link gives a invalid url:
http://jv.news24.com/Beeld/Opinie/Ru...540963,00.html

This seems to be the case on all none www urls, any help on this?

Thanks
Reply With Quote
  #110  
Old 07-23-2009, 03:35 PM
aspen0 aspen0 is offline
 
Join Date: Apr 2003
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you've got it installed please mark it as such Stefanus.

I will look into that bug, should be an easy fix.
Reply With Quote
  #111  
Old 07-23-2009, 03:42 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stefanus View Post
Hi,
The following link gives a invalid url:
http://jv.news24.com/Beeld/Opinie/Ru...540963,00.html

This seems to be the case on all none www urls, any help on this?

Thanks
Subdomains/non-www domains work fine; it's the commas that's causing the problem. I've modified the externalredirect.php file to allow for those, as well. Just uploaded the attached version over your existing one.
Attached Files
File Type: php externalredirect.php (1.3 KB, 12 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:24 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.04723 seconds
  • Memory Usage 2,349KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete