4 Replies Latest reply on Oct 10, 2010 12:47 PM by VickyC112

    redirect one website to another

    VickyC112 Level 1

      Hello

       

      My sister has asked me to help her with a website she had done a few years ago. It's a site that was originally designed in Flash (something I don't have a great deal of knowledge in) and she would like to redirect the existing site to a Wordpress blog she has set up.

       

      The original web address is http://www.copywritercarolyn.com

       

      I've tried doing it with a .htaccess file but it didn't seem to be recognised (so not sure if I was placing it in the correct place on the server), and I've also tried to do it using php -

       

      <?php     header( 'Location: http://copywritercarolyn.wordpress.com' ) ;  ?>

       

      and I've tried -

      <META HTTP-EQUIV="refresh" CONTENT="0; URL=http://copywritercarolyn.wordpress.com//">

      but nothing seems to be working properly so I'm presuming I'm doing something wrong. The last piece of code worked to a point but there was a delay in the redirection so users got a quick snippet of the original site before it took them to the new site.

       

      Can anyone offer any help?

        • 1. Re: redirect one website to another
          Nando Vieira Level 1

          If you have cPanel access you can go to Domains>Manage Redirects and do it from there.

           

          I register my domain names at Godaddy and I believe redirects can also be done from inside Manage My Domains, or something like that.

          • 2. Re: redirect one website to another
            VickyC112 Level 1

            That's the way I've done it before but with my own hosting company. My sis uses a different hosting company and they don't offer a web forwarding service and I don't believe they've been very helpful. When I asked them about it they replied...

             

            If you have a domain parking package, we offer an alias account but we  can only alias the domain to a streamline.net-hosted domain.

             

            And this is no good for me because the new domain is wordpress and not hosted by streamline.

             

            That's the reason I need help with code/html as I believe this is the only way that will work. Also, it was streamline themselves that suggested using a redirection script.

            • 3. Re: redirect one website to another
              Nancy OShea Adobe Community Professional & MVP

              If your sister plans to keep the current site hosted where it is, you can create a re-direct page on her server and name it index.html (to replace the current domain name home page).

               

               

              <html>
              <head>
              <meta http-equiv="refresh" content="5; url=http://newDomain.com/">
              <meta name="robots" content="noindex">
              </head>
              <body>
              <div style="text-align:center">
              <h1>This site has moved</h1> <h2>Please bookmark our new URL</h2>
              <a href="http://newDoman.com">http://newDomain.com</a>
              <p>If you are not automatically redirected to our new site in a few seconds, please click on the link above.</p> </div>

              </body> </html>

               

              PS. Change all instances of http://newDomain.com to your sister's WordPress site.

               

              Nancy O.
              Alt-Web Design & Publishing
              Web | Graphics | Print | Media  Specialists
              http://alt-web.com/
              http://twitter.com/altweb

               

              Message was edited by: Nancy O.

              • 4. Re: redirect one website to another
                VickyC112 Level 1

                Works perfectly - thanks Nancy!