The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Two-Step External Links for Link Weight Retention Details »» | |||||||||||||||||||||||||||||
Two-Step External Links for Link Weight Retention
Developer Last Online: Jun 2015
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
Supporters / CoAuthors Show Your Support
|
Comments |
#112
|
|||
|
|||
Updated, the only new file is the externalredirect.php, you can just upload the new one.
The update is that we've seriously relaxed the URL verification. It was decided there really wasn't a need for security to make sure the url variable was actually a URL and people kept posting weird URLs that would break it, so its gone. This is different from the one Chris just attached above. |
#113
|
|||
|
|||
Please help - I get a 500 Internal Server Error when any link is clicked. externalredirect.php works as a page but the error comes if the outgoing url is included as ?=...
I also have the issue with images in signatures?. Was this ever resolved? |
#114
|
||||
|
||||
Yes, just recently. If you're using both an embedded external image AND an uploaded signature image in signatures, find the "Remove external link on postbit signature" plugin and change its location from "postbit_display_start" to "postbit_display_complete" and populate it with the following code:
Code:
global $vbulletin; if (!$vbulletin->options['external_verify_sigs']) { $this->post[signature] = str_replace($vbulletin->options['bburl'].'/externalredirect.php?url=', '', $this->post[signature]); } Regarding the 500 error; I'm afraid I don't quite understand that last part. Could you rephrase? |
#115
|
|||
|
|||
Thanks
|
#116
|
|||
|
|||
I just installed this and it works only for new posts for me :-(.
When I perform Rebuild Post Cache in Maintenance -> Update Counters, all external links change to normal - without externalredirect.php in address (even those which I just created and worked until rebuild of post cache). When I have post with external link (without externalredirect.php in address) and I resave this post (only hit edit and just after it save), redirect appears. Any ideas why process of rebuilding post cache is removing redirects on external links? I also tried disable all hacks and install this on two separate forums - still the same result. vBulletin 3.8.3 |
#117
|
|||
|
|||
It could be the postcache process doesn't call the same hooks as the normal posting process, I don't know though.
I know I noticed some inconsistencies as well, but they only lasted a few minutes. We'll see if the other Chris has any ideas. |
#118
|
||||
|
||||
Found a bug in 1.0.4
If you have RSS enabled on your site, it uses the external.php file and when a member visits an external link, they are directed to the WARNING page. But it looks like that when Im looking at who's online. The mod works fine, but just thought Id point out this little "incompatibility". Maybe its just me :-P The highlighted part of the link has nothing to do with the external page, its a link thats meant for my site. |
#119
|
||||
|
||||
Quote:
|
#120
|
|||
|
|||
There's an automatic redirect on the external link page.
You think google does not detect this? |
#121
|
|||
|
|||
This is great and I caught it at the perfect time. My most recent forum is brand new. It looks like this awesome hack doesn't go back and handle old post links. However, my site only had like 10 links so far.
Thank you for this. The only other option besides having horrible page rank was to disable live links... and that's a no-no! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|