Solved

splash page redirect

Posted on 2014-04-18
4
757 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Basic JavaScript Question 3 38
Add animation to your css 12 32
alert before form submission 6 30
Does video get better conversion rates? 2 28
Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

911 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now