Need a new web host or having a problem with a script? Tips and advice on the best way to design, build and maintain your most valuable asset - your website!

How do I (cloak/Redirect) large urls in WordPress?

steadymike
Posts: 5
Joined: 02 Dec 09
Trust:

How do I (cloak/Redirect) large urls in WordPress?

Good Day,

I'm an affiliate of buyCostumes.com and to properly set my affiliate product link involves a large url text string.

BuyCostumes.com states the entire following text needs to be used so that my account be properly credited.

I'm using the Easy Link Cloaker which writes entries to the htaccess file. Problem is the string is too long and causes my site to abend. Of which I can recover by removing the errant entry from htaccess.

This is the text for a text link...

<form method="get" action="http://www.jdoqocy.com/interactive" target="_top">
<table border="0" width="600" cellpadding="5" cellspacing="0">
<tr>
<td valign="top" width="10%"><img src="http://images.Buycostumes.com/mgen/merchandiser/31763.jpg?zm=120,120,1,0,0" border="0" alt="Harem Princess Elite Collection Adult Costume"/></td>
<td valign="top" >
<p><b><font size="4">Harem Princess Elite Collection Adult Costume</font></b></p>
<p><font size="2">Costume includes a long sleeve shimmer bra top with a attached jewel, beads and removable stomach drape; sheer pants with attached gold coin trimmed sash; plus matching veil headpiece. Available in adult women's sizes of X-Small, Small, Medium, and Large. Shoes are not included.</font></p>
<hr>
<input type="hidden" name="pid" value="999999"/>
<input type="hidden" name="aid" value="999999"/>
<input type="hidden" name="cjsku" value="9999"/>
<input type="hidden" name="url" value="http://www.BuyCostumes.com/Harem-Princess-Elite-Collection-Adult-Costume/31763/ProductDetail.aspx?REF=AFC-datafeed"/>
<input type="submit" value="Buy"/>
</td>
</tr>
</table>
</form>
<img src="http://www.awltovhc.com/image-3796443-10273928" width="1" height="1" border="0"/>

extracting the url "http://www.BuyCostumes.com/Harem-Princess-Elite-Collection-Adult-Costume/31763/ProductDetail.aspx?REF=AFC-datafeed" does not contain my PID (affiliate number)

Does any have any experience with this type of issue?

Any help would be greatly appreciated,

Best,
Mike
  • 0
Site Admin
markling
Posts: 2488
Joined: 13 Jun 06
Trust:
Instead of using the Easy Link Cloaker for this one what about creating a new page on your site with the link information and link to that instead e.g. -http://www.example.com/harem-costume/?
  • 0
Last edited by ampie g on 10 Mar 10 5:04 am, edited 2 times in total.
Reason: delinked URL
 

Limited time special - Try Affilorama Premium for just $1 for 7 days: http://www.affilorama.com/premium
 
steadymike
Posts: 5
Joined: 02 Dec 09
Trust:
Mark,

Thanks for answering my question...

I'm using Wordpress and not sure how to get the page to redirect to the buycostumes.com page.

I think what you told me would work with a website application...i.e. xSitePro ?

Nonetheless, I created a test page, pasted in the html code from buycostumes.com, set a link from my product page to the 'test' page.

Brought up the site, clicked the test link, the 'test' page appears without going to buycostumes.com product page.

Regards,
Mike
  • 0
Site Admin
michellerana
Posts: 2372
Joined: 05 May 09
Trust:
You could access the lessons on Hiding your affiliate links with redirects through this link.

The comments on these thread will also be helpful:
affiliate-hangout/how-do-i-setup-a-php-redirect-t5030.html?hilit=redirect
  • 0
Michelle
Customer Support


=========================

Want a step-by-step training program in affiliate marketing? Affiloblueprint is a "hand-holding" course that will will show you how to build a site, drive traffic to it, and monetize it.

Go to this link to start building your profitable affiliate sites now!
www.affilorama.com/affiloblueprint
 
steadymike
Posts: 5
Joined: 02 Dec 09
Trust:
Thank you, I got it to work.

http://www.bellydancingcostume.us

My cloaked links are working fine...
  • 0
Site Admin
michellerana
Posts: 2372
Joined: 05 May 09
Trust:
Excellent! Glad to know you got it working :)

I just want to also inform you that you could add your URL in your signature. Just go to "Edit Profile", choose the "Personal Details" folder and type in the URL in the signature box.
  • 0
Michelle
Customer Support


=========================

Want a step-by-step training program in affiliate marketing? Affiloblueprint is a "hand-holding" course that will will show you how to build a site, drive traffic to it, and monetize it.

Go to this link to start building your profitable affiliate sites now!
www.affilorama.com/affiloblueprint
 

This topic was started on Jan 24, 2010 and has been closed due to inactivity. If you want to discuss this topic further, please create a new forum topic.