• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

Redirecting to a site

How do you redirect your site to another site without even a pause.  

Example:

You go to site www.siteaexample.com

and as soon as you arrive at siteaexample.com it redirects you to sitebexample.com

How is this done?
0
VBBRett
Asked:
VBBRett
  • 2
1 Solution
 
Farzad AkbarnejadDeveloperCommented:
Here's the code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Your Page Title</title>
<meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"></HEAD>
<BODY>
Optional page text here.
</BODY>
</HTML>

I got it from http://www.instant-web-site-tools.com/html-redirect.html
-FA
0
 
Brian GeeCommented:
Login to your domain name registrar site for siteaexample.com and instead of pointing to your name servers, have your domain name set to redirect to sitebexample.com instead.
0
 
Brian GeeCommented:
^ this if you really want to avoid a pause during redirection.
0
 
Tyler LaczkoCommented:
javascript code:

document.location = "http://www.pcsask.com";
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now