Hi folks,

Ive had a quick check around drupal.org, but cant find what im lookin for.. I currently use .php redirects in seperate folders for my affiliate links.

e.g. i create a folder /aff/ in that folder i create seperate files for each of my affiliate links. with a php redirect in them..

Then throughout my site instead of using my "affiliate link i get from the affiliate company", i use the link to my redirected link:

e.g: [a href ="../aff/my-affiliate-link1.php">affiliate link 1

Or is there a module that holds affiliate links in a database etc that makes things easier ?

---

I do it this way for 2 reasons.. 1st reason to help stop affiliate scammers nicking my affiliate comission..
and 2nd.. when i need to change that affiliate link i only need to change 1 single file in the /aff/ folder rather than every link throughout my site..

regards
newy

Comments

newy’s picture

// post got cut off :o(

The reason for this is so ppl cant steal my affiliate comission and 2 so when i need to change my links.. i only have to change 1 file rather than links throughout my site..

Is there a better way of doing this in drupal ?.. Is there a module to hold all my affiliate links in and have them redirect like in the above example ??

regards

newy

Gurpartap Singh’s picture

Use the modules like Go Two or Global Redirects or URL Redirect... :)

newy’s picture

Cheers Gurpartap,

I cant find go two, but i lookin at global redirects !

regards
newy

charliecheney’s picture

Does the Affiliate Module do what you want?
I'm looking at that and wondered what you thought...
I'm a bit of a novice here...

aruns4’s picture

i don like to display my affiliate links so trying to mask them.

could u elaborate me how to set php redirects??

giorgio79’s picture