How to create a redirect link using a yola page

  • 1
  • Question
  • Updated 7 years ago
  • Answered
I want to make a link on my site redirect to another link. How do I do it.

For example
I want to make http://kathyhadleylifecoach.com/6minu...

redirect to

https://sixminutes.infusionsoft.com/g...

How do I do that?

Thanks
Photo of Kathy Hadley

Kathy Hadley

  • 3 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 1
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
Hi Kathy,

If I understand you correctly, you want to redirect your site to another site? I have a code that I can give you if you want this. Please let me know if this is what you want.

Nathan
Photo of Kathy Hadley

Kathy Hadley

  • 3 Posts
  • 0 Reply Likes
Nathan,

I have this redirect link

redirect

If that is what you are talking about.

But how do I post it to my site kathyhadleylifecoach.com in yola?

I tried to do it with my FTP program and it kept getting an error so I figured it must be because it is a yola site with their template.

If you can help, please feel free to do so. I would appreciate step by step instructions as I'm still learning all this.

Thank you,

Kathy
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
Hi Kathy,

That code you have their is PHP. PHP isn't alloud on Yola. But the following will work.

1. Drag over an HTML Widget on the page you want to redirect.

2. Paste this into it:


<script type="text/javascript">
if(window.top.location=="http://kathyhadleylifecoach.com/6minutes2success") {
window.location="https://sixminutes.infusionsoft.com/go/SM2SOP/kathyh/"
}
else {
//do nothing
}
</script>



3. Click "Save" to close the HTML Widget and then click "Save" again to save the page.

Note: This code wont redirect in the site builder or preview mode, it will only redirect on the published site. So once you publish your site and go to http://kathyhadleylifecoach.com/6minu... it will redirect to https://sixminutes.infusionsoft.com/g....

I hope this helps.

If you have any questions or problems, please let us know.

Kind regards,
Nathan
Photo of Kathy Hadley

Kathy Hadley

  • 3 Posts
  • 0 Reply Likes
Dear Nathan,

Thank you so much for your help. Here is the status.

I did exactly as you instructed.

I created the page, put a html widget in it, copy & pastes the code above,
saved it, saved the page, published to the web and went to the new page
and it was just the page with nothing on it.

It didn't redirect it to the other site.

Is it because I have a header and navigation on the page?

I hate to be a bother but can you help me further.

Thank you so very much.

Kathy