Solved

splash page redirect

Posted on 2014-04-18
4
791 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 53

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
.CSS HTML Help 3 52
Execute jQuery after Function 4 34
CSS Formatting Getting Stripped 1 31
ReadyAPI 1.9.0 2 37
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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…

738 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