Solved

splash page redirect

Posted on 2014-04-18
4
772 Views
Last Modified: 2014-04-19
Client was purchased by another company.  They would like me to create a splash page for old company that says ABC company ws purchased by XYZ company.  You will be redirected in 10 seconds and then have that page automatically take visitor to new url.  How do I do that?  Never done it before.
0
Comment
Question by:nsitedesigns
4 Comments
 
LVL 25

Assisted Solution

by:Tony Giangreco
Tony Giangreco earned 250 total points
ID: 40008808
0
 
LVL 10

Accepted Solution

by:
Damjan earned 250 total points
ID: 40008814
Put this in your index.html
<meta http-equiv="refresh" content="10;url=http://www.newcompany.com/" />

You can also use something like:
<html>
    <head>
        <meta http-equiv="refresh" content="10;url=http://www.www.newcompany.com/" />
    </head>
    <body>
        <h1>ABC company ws purchased by XYZ company.  You will be redirected in 10 seconds...</h1>
    </body>
</html>

Open in new window

0
 

Author Closing Comment

by:nsitedesigns
ID: 40008873
thanks!
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 40010533
Actually, the answer here will technically do what you want, but it is not very good practice.   It will kill any seo from the original company.  

The proper thing to do is create a 301 redirect.   Javascript/client side can not do this.  You have to either use your htaccess/webconfig file or use your serverside code.  

Since you are going from domain 1 to domain 2, using your htaccess/webconfig is probably a better way to go.    You can place a one time banner/div on the new site, "Welcome Domain 1 visitors ... ".  Perhaps use a cookie when they come to visit and only show the banner to people without the cookie.  

There are many options, but a client side redirect is not a good option.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question