Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

How to automatically rewrite affiliate links?
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: How to automatically rewrite affiliate links?

How to automatically rewrite affiliate links? 14 years, 10 months ago #10179

Is there a way to make JoomSEF rewrite outgoing affiliate links? For example:

Original link:
click.linksynergy.com/fs-bin/click?id=OF...p;type=3&subid=0

Rewrite to:
www.mysite.com/company/offer/123

I was thinking that the com_content extension would help with this but I have no idea how to do it. I would like this to happen automatically after entering the Original link into an article. Thank you.

Re:How to automatically rewrite affiliate links? 14 years, 10 months ago #10182

  • jaku
I am afraid that is not easily possible.
A special extension would be needed that could take care about rewriting outgoing URLs and then taking care for redirection.

By default, JoomSEF will only rewrite "local" site links starting with "index.php...".

Re:How to automatically rewrite affiliate links? 14 years, 10 months ago #10185

jan wrote:
I am afraid that is not easily possible.
A special extension would be needed that could take care about rewriting outgoing URLs and then taking care for redirection.

By default, JoomSEF will only rewrite "local" site links starting with "index.php...".


Thank you. Do you or anyone else reading know of an extension that exists to accomplish this?

Re:How to automatically rewrite affiliate links? 14 years, 9 months ago #10426

All praise be to Allah! I found a great solution to this issue! The ReReplacer component will replace anything in a Joomla website.
Last Edit: 14 years, 9 months ago by .

Re:How to automatically rewrite affiliate links? 14 years, 9 months ago #10438

  • jaku
I am not sure if that component will help you either.

What you need is a script at your site, that will accept the URLs in "nice" format and then redirect them to the external URL. (which I am not sure the ReReplacer can do - it may replace the external link with the nice one, but it will not do the needed redirection)

Re:How to automatically rewrite affiliate links? 14 years, 9 months ago #10445

jan wrote:
I am not sure if that component will help you either.

What you need is a script at your site, that will accept the URLs in "nice" format and then redirect them to the external URL. (which I am not sure the ReReplacer can do - it may replace the external link with the nice one, but it will not do the needed redirection)


Correct! Having the script for redirection is the easy part. I just needed something to dynamically rewrite the outgoing URLs as they dynamically come in via datafeeds. I am using Shorty (http://get-shorty.com/) to handle the redirection as it comes with a built in API.

You can see some of the cleaned up links here on my test site:
http://travel.serviceproviderdepot.com
Last Edit: 14 years, 9 months ago by sshakir.
  • Page:
  • 1
User Login Empty