Jump to content

Domain Redirect!!! HELP!!

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
10 replies to this topic

#1
TheCEOandPresident

TheCEOandPresident

    Learning Programmer

  • Members
  • PipPipPip
  • 96 posts
I need to know the BEST way to redirect a domain. It needs to be smooth and quick (that's what she said :D) If anybody could help me out I would REALLY appreciate it. Thanx

#2
moonknight

moonknight

    Learning Programmer

  • Members
  • PipPipPip
  • 89 posts
well use the service to or use a script like js that redircts the page to something else
<script type="text/javascript">
<!--
window.locatin = "http://website.com"
//-->
</script>

Edited by Jordan, 16 January 2009 - 09:23 AM.

programming is like s*x................................one mistake an you have to support it the rest of your life

#3
TheCEOandPresident

TheCEOandPresident

    Learning Programmer

  • Members
  • PipPipPip
  • 96 posts
...not following :confused: haha

#4
Guest_Jordan_*

Guest_Jordan_*
  • Guests
He posted a JavaScript way to do it but he spelled location wrong so it won't work.

Here is a way to do it using HTML:
<!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>

You can also use his method but spell location right.

#5
moonknight

moonknight

    Learning Programmer

  • Members
  • PipPipPip
  • 89 posts
oops my bad

<script type="text/javascript">
<!--
window.location = "http://website.com"
//-->
</script>

programming is like s*x................................one mistake an you have to support it the rest of your life

#6
TheCEOandPresident

TheCEOandPresident

    Learning Programmer

  • Members
  • PipPipPip
  • 96 posts
ok cool thanks I think I can manage to use the right brain cells and do that correctly lol if not I will DEF be back to ask for more help lol

#7
elegos

elegos

    Newbie

  • Members
  • PipPip
  • 13 posts
The best way to do it is to say the browser to directly redirect the connection to another site. I know this technique in PHP:
<?PHP
   header("location: http://www.yournewsite.com"); 
?>
In this way the page won't even load, as like as the header changed from "hey, I'm a web page" to "I'm not a page, go there!"

P.S.
the location is a website, I wasn't allowed to post sites :)

Edited by Jordan, 18 January 2009 - 10:10 AM.


#8
Guest_Jordan_*

Guest_Jordan_*
  • Guests
I modified your post so that the link was intact.

#9
TheCEOandPresident

TheCEOandPresident

    Learning Programmer

  • Members
  • PipPipPip
  • 96 posts
Thanx guys I'm about to buy like 5 links that i'm going to need to redirect so that's why i was asking. Hopefully I wont have too much trouble with it thanks to you guys

#10
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Ar you purchasing expired domains?

Posted via CodeCall Mobile

#11
TheCEOandPresident

TheCEOandPresident

    Learning Programmer

  • Members
  • PipPipPip
  • 96 posts
No just buying new ones and then redirecting them :D