Solved

splash page redirect

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 …
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

821 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