How do you re-direct from
Discussion
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
<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
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
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
simpo two said: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?
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!
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
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 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
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

Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff





