redirecting from my yola site to another site on another server

  • 1
  • Question
  • Updated 6 years ago
  • Answered
I have not found this exact solution in here. I have a website on yola where I only want to use a block. So when people are supposed to go to my yola page they whill be directed to another index site on another server and host. But I want to keep the index on yola but only as a blog
I know its possible but I have not yet found anyone who answered it
thanks
Niels
Photo of Niels Vejlyt

Niels Vejlyt

  • 3 Posts
  • 1 Reply Like

Posted 6 years ago

  • 1
Photo of Crystal

Crystal, Champion

  • 250 Posts
  • 79 Reply Likes
Hello Niels, If I understand your question correctly, you have a blog on the Yola site but you want the Yola site index.php page to be redirected to another site location? If you do a interent search for "301 Redirect" there are a number of different ways this can be done - using PHP Redirect, ASP Redirect, Java Script or Meta Tags. Using the Java Script redirect may cause you site to get blacklisted on Google. I'll put the code below for two of the methods - replace the {} brackets in the code below with <>. You may need to create your own index page off the yola site and then upload it to the yola site.

PHP Redirect
{?
Header("HTTP/1.1 301 Moved Permanently");
Header("Location: http://www.new-url.com");
?}

Meta Tag - put in the header of the site page with the other tags
{meta http-equiv="REFRESH" content="0;url=http:www.new-url.com"}
Photo of Niels Vejlyt

Niels Vejlyt

  • 3 Posts
  • 1 Reply Like
Hey Crystal thanks a lot for the help. Yola actually send me smoe code that worked. Now I just have quite a big problem because all the blog posts links then have an index adress so links posted on youtube for example now leads to the new site. So im looking for a solution to this, I tried to rename the index blog on Yola without sucess unfortunately. Do you know what to do ?
Photo of Crystal

Crystal, Champion

  • 250 Posts
  • 79 Reply Likes
Is your blog on Yola on the index.php page?
Photo of Niels Vejlyt

Niels Vejlyt

  • 3 Posts
  • 1 Reply Like
yes it is
Photo of Stefan

Stefan, Official Rep

  • 4448 Posts
  • 190 Reply Likes
Hello Niels

If our Support managed to help you with your first request, it may be best to contact us again via e-mail to follow up with you.