|
|
|
|
|
|
![]() |
#1 |
Live and learn. And take very careful notes!
|
redirecting script
i have bought domain
http://www.analbitch-pronlist.com and i am redirecting the domain to my other http://www.analbitch-pornlist.com by using this <script> <!-- window.location="http://www.analbitch-pornlist.com"; --> Is this the best way or is there an better way? |
![]() |
![]() |
![]() |
#2 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
<head>
<title>Welcome to Adobe GoLive 6</title> <meta http-equiv="refresh" content="0;URL=http://whatever.com"> </head> This is what I use. Also you can use htaccess to 404 or 403 to another domain. |
![]() |
![]() |
![]() |
#3 |
Internet! Is that thing still around?
Join Date: Aug 2003
Posts: 2
|
htaccess would work well here.
put this into a .htaccess file: RewriteEngine On RewriteRule ^(.*)$ http://www.yourdomain.com [R,L] |
![]() |
![]() |
![]() |
#4 |
Live and learn. And take very careful notes!
|
Thanks Cleo and Nickk. i see now 3 different ways, is there a difference for the ses? Normal i redirect in a strange way make an index page with text and give them the right domain link on that page, so the site will go in the ses, is that the same way with these 3 options, wil the domain get in the ses?
Thanks for your input!!! ![]() |
![]() |
![]() |
![]() |
#5 |
Trying is the first step towards failure
|
It's my personal (and unfounded) opinion that the best way to do this is with an .htaccess file with this in it:
Redirect permanent / http://www.redirecttohere.com/ ErrorDocument 400 http://www.redirecttohere.com/ ErrorDocument 401 http://www.redirecttohere.com/ ErrorDocument 403 http://www.redirecttohere.com/ ErrorDocument 404 http://www.redirecttohere.com/ I think javascript redirects are only useful for redirecting a single page. Matt
__________________
Link List Land - Linklist Creation, Design and Implementation. |
![]() |
![]() |
![]() |
#6 |
All the way from Room 101
|
There's another way of doing this.
If you are using Directnic (or other similar registrar) to buy the domain, then you can use their admin to forward the domain to where you want it to go. An example being...... Mis-spelling Correct spelling
__________________
![]() |
![]() |
![]() |
![]() |
#7 | |
Live and learn. And take very careful notes!
|
Quote:
|
|
![]() |
![]() |
![]() |
|
|