Hi Guys,
I hope one of you can offer some advice on a problem I can't seem to solve..?
Ok 1st of all I'm pulling in affiliate products to my site using an RSS feed, which works fine apart from the bare affiliate links.
Tried about a dozen different WordPress plugins to try to cloak affiliate links, but none would work as I wanted. So I added some code to the RSS plugin in order to cloak the link by changing my domain with the original domain as follows;
this affiliate link;
http://example.com/item/product?ref=affiliate ID
changed to this;
http://my-domain.com/new/goto/item/product?ref=affiliate ID
Everything works just fine up to this point, the problem comes when trying to set up a 302 / 307 redirect from my-domain.com/new/goto/item/* to example.com/item/*
As I have a large number of these links I have attempted to use a wildcard (rightly or wrongly), as the product would remain the same after redirect & only the domain & directories change. Or at least that was my plan, but try as I may I just cannot get it to redirect at all, even after deactivating all plugins!
I feel I'm missing something really simple here, but just cannot figure it out. My last option now is to try & do this redirect using htaccess, so any advice would be greatly
appreciated.
Taffy1957