How do I make redirect links

  • 1
  • Question
  • Updated 9 years ago
  • Answered
Hi, I need some help please. I used to have a folder called products on my old website and this contained all my affiliate links. I tried to create a prod folder and upload the php redirects, but can't get it right. I would like to hide the links as such www.mysite.com/prod/thename but cannot figure this out. How do I insert the link into the folder? Thanks
Photo of Dersal

Dersal

  • 28 Posts
  • 0 Reply Likes
  • puzzled

Posted 9 years ago

  • 1
Photo of Connor McCarra

Connor McCarra, Champion

  • 944 Posts
  • 47 Reply Likes
Hi Dersal,

Are you trying to upload php files to the file manager? If so, this is not possible with Yola as some people could use it maliciously.
Photo of Dersal

Dersal

  • 28 Posts
  • 0 Reply Likes
How do I get around that? Can I still do the same but with HTML or Javascript or similar?
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hi Dersal,
Unfortunately it is not possible to upload .html or .js files into the Site Builder either. I am not exactly sure how you can hide the links that you have, or if I understand what it is you want to do. Is what you want to do only possible by uploading a file like this into the Site Builder. If you can give us a bit more information possibly we can give you some other options.

Emmy
Photo of Dersal

Dersal

  • 28 Posts
  • 0 Reply Likes
Thanks guys for your help. All I'm trying to do, is avoid using long affiliate links, where anyone can cut meout or steal the commission. On my old site (CPanel) I created a product folder with all the links. The links were cloaked and then redirected to a simple personal link such as www.dersalsites.com/product1 then product2 etc. This link was used in emails and articles and looked as if it was my own product. I have a ton of these links and tried to create the product folder on my new site, but it does not work the same. How can I redirect the affiliate link through my new site and back to the affiliate site, using a "personal link" There must be some way of doing this, but I can't seem to find it.
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
I have an idea of how you could do this by creating a page on your site and then causing the page to automatically redirect to the affiliate site. This is just an idea, and would be a bit more difficult if you have numerous websites you need to redirect to as you would need to create a page for each.

Here is what you can do:

1. Create a new page with the name of the site you want to link to.
2. Drag and drop a HTML widget onto your page.
3. Paste this tag into the HTML editor:

<meta http-equiv="refresh" content="2; url=http://webdesign.about.com&quot;&gt;

"2" is how many seconds it waits before it redirects - you can change this number.
"url" is the URL it redirects to, so, replace the URL in the above tag with the one for the site you want to link to.

Hopefully this will work for you.
Photo of Boomer

Boomer, Champion

  • 2055 Posts
  • 84 Reply Likes
Cool trick Emmy....Can I just add something though.
Beware!...it will redirect in the sitebuilder as well, so start off with a higher number while you are testing. I found out the hard way ;)
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Yes Boomer! Good point, thanks for adding that :)
Photo of Dersal

Dersal

  • 28 Posts
  • 0 Reply Likes
Thanks Emmy and the others. I had hoped there was an easier way, like simply FTPing the links into the public HTML folder, but seems not. I'll try the page divert and see how that goes, maybe a subpage? Thanks for the help. I think I'm going to be happy here.
Photo of Dersal

Dersal

  • 28 Posts
  • 0 Reply Likes
Thanks everyone, I have tried it and got it to work. A little more work than I had envisaged, but lucky I checked before I had built my site. Now I know how to restructure the site and which pages to create. Thanks.