View Full Version : redirecting script
stuveltje
2003-08-31, 07:37 AM
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?
<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.
nickk
2003-08-31, 05:10 PM
htaccess would work well here.
put this into a .htaccess file:
RewriteEngine On
RewriteRule ^(.*)$ http://www.yourdomain.com [R,L]
stuveltje
2003-09-01, 12:26 AM
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!!!|violin|
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
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 (http://www.maxblowjob.com/)
Correct spelling (http://www.maxblowjobs.com/)
stuveltje
2003-09-03, 03:41 AM
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
vBulletin® v3.8.1, Copyright ©2000-2026, Jelsoft Enterprises Ltd.