Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Re: Reload a page using a different URL - August 28, 1998 at 21:28:14

You are here: irt.org | BBS | Re: Reload a page using a different URL [This BBS is closed]

Posted by Jason Nugent on August 28, 1998 at 21:28:14:

In Reply to: Re: Reload a page using a different URL posted by Julian Jacobs on August 28, 1998 at 14:05:03:

: The page I needed to load can be accessed 2 ways.
: What I have found is the following
: <script language="JavaScript">
: </script>
: This seems to do the job for me :))
: Thanks for the comments.
: JulianJ
: : : What i want to do is:
: : : If somebody comes to a page using a URL that does not contain the correect domain name.
: : : I want them to be directed to my domain
: : : eg
: : : browser goes to www.foo.com/my-site
: : : I would like the page to reload as
: : : www.my-site.com
: : : my domain is software hosted and has the same IP address as www.foo.com
: : :
: : : Thanks
: : : JulainJ

Yeah, but what happens if your visitor doesn't have a JavaScript enabled browser? What would they see? For re-directs and mappings, I can't stress enough how important it is to use your server software to do this stuff for you.
Jason
Follow-ups:

You are here: irt.org | BBS | Re: Reload a page using a different URL [This BBS is closed]

©2018 Martin Webb