
Register and join over 40,000 other developers!
Recent Topics
-
The Game You Are Waiting For?
WendellHarper - Dec 06 2020 01:21 PM
-
Quora and Reddit Backlinks
WendellHarper - Dec 06 2020 01:14 PM
-
Delete account
pindo - Jul 23 2020 01:33 AM
-
Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
-
Learn algorithms and programming concepts
johnnylo - Apr 23 2019 07:49 AM
Recent Blog Entries
Recent Status Updates
Popular Tags
- networking
- Managed C++
- stream
- console
- database
- authentication
- Visual Basic 4 / 5 / 6
- session
- Connection
- asp.net
- import
- syntax
- hardware
- html5
- array
- mysql
- java
- php
- c++
- string
- C#
- html
- loop
- timer
- jquery
- ajax
- javascript
- programming
- android
- css
- assembly
- c
- form
- vb.net
- xml
- linked list
- login
- encryption
- pseudocode
- calculator
- sql
- python
- setup
- help
- game
- combobox
- binary
- hello world
- grid
- innerHTML

10 replies to this topic
#1
Posted 15 January 2009 - 08:40 PM
I need to know the BEST way to redirect a domain. It needs to be smooth and quick (that's what she said
) If anybody could help me out I would REALLY appreciate it. Thanx

#2
Posted 15 January 2009 - 08:45 PM
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
Posted 15 January 2009 - 08:51 PM
...not following
haha

#4
Guest_Jordan_*
Posted 16 January 2009 - 09:24 AM
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:
You can also use his method but spell location right.
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
Posted 16 January 2009 - 03:45 PM
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
Posted 17 January 2009 - 04:20 PM
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
Posted 18 January 2009 - 07:14 AM
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:
P.S.
the location is a website, I wasn't allowed to post sites
<?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_*
Posted 18 January 2009 - 10:11 AM
I modified your post so that the link was intact.
#9
Posted 18 January 2009 - 12:24 PM
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_*
#11
Posted 22 January 2009 - 08:06 PM
No just buying new ones and then redirecting them

Also tagged with one or more of these keywords: redirect
Language Forums →
PHP →
Redirecting to different pages from same buttonStarted by jasonalien , 01 Feb 2013 ![]() |
|
![]()
|
||
![]() |
Language Forums →
PHP →
[SOLVED] Redirect from a page with PHP and SmartyStarted by jasonalien , 26 Jan 2013 ![]() |
|
![]()
|
|
General Forums →
General Programming →
htaccess Redirect to index.php - please helpStarted by amir2000 , 09 Jan 2013 ![]() |
|
![]()
|
||
Language Forums →
HTML, CSS and Javascript →
JQuery redirect After bounce animationStarted by vaironl , 19 Dec 2012 ![]() |
|
![]()
|
||
Language Forums →
Java →
Iframe redirects - Need help! Can pay!Started by sek007 , 08 Nov 2012 ![]() |
|
![]()
|
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download