Home / Joomla Tips & Tricks / A Simple Way to Use Internal URLs for External Links 
Joomla Tips & Tricks
Apr
08
2008
A Simple Way to Use Internal URLs for External Links
Written by Steve Burge   
Avatar

Joomla WeblinksThis is the answer to a question we've been asked repeatedly:

"I'm looking for a Joomla component that will allow me to change outbound links from direct urls into internal urls."

Essentially they're looking to change a link from http://www.bbc.co.uk to http://www.alledia.com/link/bbc/. The link still goes to the BBC, but it first goes to a url on the webmaster's own site.

Why Would People Want Internal URLs for Outbound Links?

  1. Affiliates want to protect their affiliate links:
    • They think internal urls are more likely to be clicked than a url that looks like this: http://www.anrdoezrs.net/click-2660093-10423359

    • Some people deliberately avoid clicking on affiliate links

    • There are even rumored to be some computer-based viruses that are capable of inserting the spammer's affiliate ID into links to popular affiliate programs when people are browsing.
  2. Some webmasters worried about leaking their Google Page Rank to other sites. I am not a big believer in this technique, but I know several people who consider this to be important.

How to Create Internal URLs for Outbound Links

Add the link to your weblinks component. You'll be given an inbound redirect link.

Click here to see one example in our weblinks component. The links will appear in this format: http://www.alledia.com/weblinks/joomla/

Afterwards you can use a component such as Simply Links to apply that link to all instances of that word on your site. We do this with words such as sh404SEF, SEF Advance, Joomla SEO Club, and even affiliate links such as Joomlashack. Finally, make sure to unpublish your weblinks search mambot or else it may start to clog up your site's search results.

Other Options

 

Comments  

 
#1 Physicist 2008-04-08 10:21
Most of redirects is based on mosRedirect function that use 301 redirect. But in this case you lose PR too. So, check that used script makes javascript-redirect rather then 301.
Quote
 
 
#2 Sean Daily 2008-04-08 17:24
So which components use javascript versus mosRedirect? Anyone know?
Quote
 
 
#3 Mike Law 2008-04-08 18:08
Thanks for this tip, I never thought of doing it that way. I currently use php redirects and insert Google Analytics into each one to track clicks, will Google Analytics still be able to monitor those external link clicks using this method?

I have been looking for an extension like Simpy Links for Joomla 1.5 as it's a crucial function in my opinion, any suggestions?

Mike.
Quote
 
 
#4 Kristofer 2008-04-09 03:09
Though this messes up if you for instance wants to use Snap shots of your links - for instance http://www.snap.com/. There are mambots for that for Joomla, but they target external URLs, not internal... I asked about this at the Joomla forum, but haven't received any replies...
Quote
 
 
#5 guido 2008-04-09 03:20
the only commercial one does not automatically create redirect links, which means that it could become too complicated if you have more than X publishers.
I don't know if the modified version of simply links does javascript-redirect, but I have been looking for the developer's site in order to ask about 1.5 compatibility (see Mike) and have not been able to find it, anybody who knows better?
Quote
 
 
#6 guido 2008-04-09 03:51
Found the simply links original version! it is for 1.5!
http://www.nekkarcity.de/
Wondering if the cloaker is for 1.5 as well...
Quote
 
 
#7 guido 2008-04-09 10:08
I'm still on hunt mode and I've found this extension
extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,3724/Itemid,35/.
it seems to cloak in some way the url, I suspect it's using mosRedirect, how do I tell the difference?
Quote
 
 
#8 Steve Burge 2008-04-09 20:12
Hi Guido

We haven't updated the cloaker for 1.5, although we may do shortly.

The CMS top sites extension is just a glorified reciprocal links scheme and not recommended.
Quote
 
 
#9 Mike Law 2008-04-09 22:46
Thanks a lot for positing that, I didn't even look at the site as it said it was only 1.0 compatible on the Joomla.org site. Very basic tool, quite a bit of room for improvement but still worthwhile using.

Mike.
Quote
 
 
#10 guido 2008-04-10 03:55
steve, you say it's not recommended because it is probably going to be penalized by Google?
(still waiting for someone telling us which system doesn't use mosredirect...)
Quote
 

Add comment


Security code
Refresh