Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

How to create a clean-looking affiliate link

Status
Not open for further replies.
Joined
Oct 27, 2010
Posts
157
Reaction score
5
Recently saw a website where there was the following link:

Text said "buy online"
When I hovered over the link it just shows a nice clean "xxxxxxxxx.co.uk/tickets" link in the status bar at the bottom left of the browser.

When I clicked on the link it took me to the buyagift website, and the buyagift url showed a long url including the affiliate's id (as I expected).

However, how can I do the same on a website of mine - i.e. clean looking link shows in the status bar at the bottom of the browser window when you hover over an affiliate link, yet when clicked goes to the trackable link ?

I thought it was a 301 re-direct, but on looking into it it doesn't appear so.

Any help appreciated, many thanks.
:)

(Admin - I didn't put this in new domainers forum, as I felt it was more affiliate-specific. Apologies of this is wrong)
 
probably htaccess, bit of code to translate to long aff url, then a header redirect. e.g. simpleurls plugin for wordpress.
 
This is how I do it.

Create a new HTML/PHP file and name it "index" then edit the code so it looks like the following:

<head>
<meta http-equiv="refresh" content="0; url=YOUR_AFFILIATE_LINK" />
</head>

Replace YOUR_AFFILIATE_LINK with the affiliate URL.

If it is, for example, a link to an iPad on Amazon, you can create a folder called "Amazon" in the root folder then create another folder called "iPad" in the Amazon folder. Then paste the file in the iPad folder. Edit the link on the page to read "/Amazon/iPad".
 
Last edited:
as folks as have mentioned, easiest to do this via the htaccess file

alternatively what I like to do is use the htaccess file to redirect to a local file with php code to provide some conditional processing, etc before redirecting. helps reconcile my click throughs in my log file with what the affiliate mgmt software shows.
 
Wow !
Thanks for all the useful replies - will look deeper into the options a little later, as I have to go out to instruct now.

Many many thanks indeed for all your replies. Much appreciated.
Steve
:)
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members online

Premium Members

Upcoming events

New Threads

Domain Forum Friends

Lastest Listings

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom