How do you re-direct from
Author
Discussion

Ballistic Banana

Original Poster:

14,706 posts

294 months

Saturday 23rd October 2004
quotequote all
one web site to another automatically??

Just I have one Website Url that I want to open into another automatically.

TIA

BB

simpo two

92,291 posts

292 months

Saturday 23rd October 2004
quotequote all
Do you own both domains, and what host are you with?

JoolzB

3,549 posts

276 months

Saturday 23rd October 2004
quotequote all
I'm not following you around BB, honest.

Try the link
here

you can add in the URL you want to redirect to and press generate code. Then grab the code. The bit you want is in the meta tag at the top.

edited to get the URL right


>> Edited by JoolzB on Saturday 23 October 11:23

Ballistic Banana

Original Poster:

14,706 posts

294 months

Saturday 23rd October 2004
quotequote all
simpo two said:
Do you own both domains, and what host are you with?


Yes ones a free site with and the other with Inet. and another thats being held at the moment?

I think Joolz has givrnen me the info that may be helpfull

fatsteve

1,143 posts

304 months

Saturday 23rd October 2004
quotequote all
A more effective method (if you can't change the DNS's AName recs) is to use META TAGS (since some people switch off JavaScript - plebbs)

<html>
<head>
<META HTTP-EQUIV=Refresh CONTENT="0; URL=http://www.xyz.com">
</head>
<body>
</body>
</html>

Simply create a index.html file in you webserver's root directory. An change http://www.xyz.com to the website you want to re-direct to

HTH

Steve

JamieBeeston

9,294 posts

292 months

Saturday 23rd October 2004
quotequote all
With Reg1, we offer users the ability to make one website forward to the other, even so much as www.website1.com/holidays/file.jpg will point to www.website2.org.uk/holidays/file.jpg

We do this using mod_rewrite and some funky PHP coding.

If you have the relevant coding experience, it wont be that hard to do..

Another option is simply to point the DNS for the first site, to the machine of the second one, and add an apache Vhost for it.

a third option is the meta refresh option listed above.. but thats very limited in scope.

If you control the hosting and dns of them both its easy.

If not, you could just transfer the one you want to forward to Register1.net and let our system take the headache out of it for you.


Example.

http://430b.com

is actually a link to http://430m.com

but http://430b.com/430-49.jpg works, does it not..

you can even opt to have it work in links (for images in PH etc)

so www.yourdomain.com/yourcar.jpg works, but actually shows ntlworld.com/~pink.rabbit23/myfotos/yourcar.jpg


For every question, there is a raft of techinical, and no so technical answers

>> Edited by JamieBeeston on Saturday 23 October 14:01

PetrolTed

34,467 posts

330 months

Saturday 23rd October 2004
quotequote all
Keep it simple BB

simpo two

92,291 posts

292 months

Saturday 23rd October 2004
quotequote all
Surely there's more to this than just swapping bits of code, otherwise I could get PH to point to bigtits.com or whatever. There has to be an element of permission somewhere!

victormeldrew

8,293 posts

304 months

Saturday 23rd October 2004
quotequote all
simpo two said:
Surely there's more to this than just swapping bits of code, otherwise I could get PH to point to bigtits.com or whatever. There has to be an element of permission somewhere!
Indeed, you need to be the owner of site A to be able to redirect it to site B. How else would you (legally) add the "code" to site A to do the redirection?

JamieBeeston

9,294 posts

292 months

Saturday 23rd October 2004
quotequote all
simpo two said:
Surely there's more to this than just swapping bits of code, otherwise I could get PH to point to bigtits.com or whatever. There has to be an element of permission somewhere!


Nope.

you can point your site at anyone elses.

The beauty of the internet!

ErnestM

11,621 posts

294 months

Saturday 23rd October 2004
quotequote all
Using meta refresh may not always work as some web browsers (and web security add on products) will not allow refresh due to the potential of being thrown to a "bad" site.

Depending upon what web server software your presence provider is using, it's best to allow the server to conduct the redirect...

Just mho

ErnestM

Ballistic Banana

Original Poster:

14,706 posts

294 months

Saturday 23rd October 2004
quotequote all
prehaps I should just leave a website url to click to go to the other site. all looks a bit complicated for what is a quite basic site.

Teds right (again) keep it simple

BB

JamieBeeston

9,294 posts

292 months

Sunday 24th October 2004
quotequote all
It really is very simple, just transfer your domain to Register1.net

Job done

JoolzB

3,549 posts

276 months

Sunday 24th October 2004
quotequote all
Ballistic Banana said:
prehaps I should just leave a website url to click to go to the other site. all looks a bit complicated for what is a quite basic site.

Teds right (again) keep it simple

BB

The meta refresh option is very simple, just one line of HTML at the top of your page. You could create a default page that informs you you are being redirected in an number of seconds and an anchor linking to the other site if it doesn't happen.

If you're not sure you can email me and I'll give it a go.

There are other options as detailed but some of which will need the use of server technologoies, if you already have them then great but a pricey upgrade for a redirect IMO.

good luck
JoolzB

JoolzB

3,549 posts

276 months

Sunday 24th October 2004
quotequote all
BB,
click here to see the redirect, do a view source before it redirects and obviously change the time and URL it points to in the meta tag at the top.

hope that helps
Joolz

JoolzB

3,549 posts

276 months

Sunday 24th October 2004
quotequote all
simpo two said:
Surely there's more to this than just swapping bits of code, otherwise I could get PH to point to bigtits.com or whatever. There has to be an element of permission somewhere!

If you own the site you can do whatever you want to it, you'd have problems redirecting PH to bigtits.com as you don't have access to the source HTML on the server to insert the code/HTML.

I on the other hand do not have any problems re-directing to bigtits.com

ultimasimon

9,646 posts

285 months

Sunday 24th October 2004
quotequote all
JamieBeeston said:
It really is very simple, just transfer your domain to Register1.net

Job done


or blatant-plugs-r-us.com

JamieBeeston

9,294 posts

292 months

Sunday 24th October 2004
quotequote all
ultimasimon said:

JamieBeeston said:
It really is very simple, just transfer your domain to Register1.net

Job done



or blatant-plugs-r-us.com



bah, least I pay for it tho

Muncher

12,235 posts

276 months

Sunday 24th October 2004
quotequote all
JamieBeeston said:



bah, least I pay for it tho


You heard it first here folks

Bodo

12,554 posts

293 months

Sunday 24th October 2004
quotequote all
JamieBeeston said:

ultimasimon said:


JamieBeeston said:
It really is very simple, just transfer your domain to Register1.net

Job done




or blatant-plugs-r-us.com




bah, least I pay for it tho
do you pay per banner or per post?