Welcome to Alledia, the #1 Joomla Training Company

Would you like to learn Joomla? We're here to help you: Sign Up Today

  • Professionally-produced training videos and tutorials.
  • Guaranteed same-day answers to all your Joomla questions.
  • No Joomla experience needed. We've taught 1000s of Joomla students.

Home / Joomla Tips & Tricks / A Simple Way to Use Internal URLs for External Links 
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

Free Weekly Joomla Tutorials

Your Comments (18)

0
Physicist
April 08, 2008

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.

greenlivingideas
Sean Daily
April 08, 2008

So which components use javascript versus mosRedirect? Anyone know?

0
Mike Law
April 08, 2008

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.

0
Kristofer
April 09, 2008

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

teddy
guido
April 09, 2008

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?

teddy
guido
April 09, 2008

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

teddy
guido
April 09, 2008

I'm still on hunt mode and I've found this extension
http://extensions.joomla.org/c...Itemid,35/.
it seems to cloak in some way the url, I suspect it's using mosRedirect, how do I tell the difference?

steve
Steve Burge
April 10, 2008

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.

0
Mike Law
April 10, 2008

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.

teddy
guido
April 10, 2008

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

emir
Emir Sakic
April 10, 2008

SEF Advance will allow you to define custom redirects. So you can define an internal link like: http://www.yourdomain.com/bbc/ to be redirected to http://www.bbc.com
You can also specify the prefered redirect header for each link separately.

0
Johan Janssens
April 13, 2008

We solved this problem on Joomlatools.org by building a very simple com_redirect. It uses one view, a xml url redirect parameter for the menu manager and a controller to handle the actual redirect. Very easy to create.

An example of an link would be : http://www.joomlatools.org/pro...n/faq.html

Johan

teddy
guido
April 15, 2008

Emir, you still have to manually add links with SEFadvance if I'm not wrong, which is a daunting task if you have 100 links and growing, let us know if there's a way to do it!
Johan, it would be great to have an automated redirect according to your instructions! I know you're very busy, but maybe someone skilled could contribute to the cause...
Sorry, but I'm not the one skilled... smilies/grin.gif

0
Wong SEO-UL
June 16, 2008

Did you try LinX component for Joomla...?

0
Miami
June 18, 2008

For this one--> "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. ' You can always use "no follow" tag

0
SEO in India
October 10, 2008

hi,
i think use LinX component for joomla is good way....
Thanks!

0
Pixelpunk
October 16, 2008

I am of the understanding that nofollow cannot be counted on to work, there is evidence that some don't pay attention to it, and/or in certain circumstances won't. Don't have the details, but the best authorities I've seen say we don't know just what the bots do or don't do and it cannot be relied on. Besides it seems to me that the maintenance level is high to add it to every single link.

0
Palanivel
November 07, 2008

I think this type of url redirecting is not good for website. It will make problem to your website. so try to avoid and go for any other best way.

Write comment

 
  smaller | bigger
 

busy