Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2003-08-31, 06:37 AM   #1
stuveltje
Live and learn. And take very careful notes!
 
stuveltje's Avatar
 
Join Date: Apr 2003
Location: Sunny Holland
Posts: 6,157
Send a message via ICQ to stuveltje
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?
stuveltje is offline   Reply With Quote
Old 2003-08-31, 07:01 AM   #2
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
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.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2003-08-31, 04:10 PM   #3
nickk
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]
nickk is offline   Reply With Quote
Old 2003-08-31, 11:26 PM   #4
stuveltje
Live and learn. And take very careful notes!
 
stuveltje's Avatar
 
Join Date: Apr 2003
Location: Sunny Holland
Posts: 6,157
Send a message via ICQ to stuveltje
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!!!
stuveltje is offline   Reply With Quote
Old 2003-09-01, 10:53 PM   #5
matt
Trying is the first step towards failure
 
Join Date: Apr 2003
Location: Australia
Posts: 123
Send a message via ICQ to matt
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.
matt is offline   Reply With Quote
Old 2003-09-03, 02:21 AM   #6
urb
All the way from Room 101
 
urb's Avatar
 
Join Date: Aug 2003
Posts: 3,557
Send a message via ICQ to urb
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
__________________
urb is offline   Reply With Quote
Old 2003-09-03, 02:41 AM   #7
stuveltje
Live and learn. And take very careful notes!
 
stuveltje's Avatar
 
Join Date: Apr 2003
Location: Sunny Holland
Posts: 6,157
Send a message via ICQ to stuveltje
Quote:
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
ackkkkkk i buy my domains at godaddy.....i believe they have something like that masking url!!!!Thanks
stuveltje is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:22 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc