Jump to content


Guest fgoba_ulinx

Recommended Posts

Guest fgoba_ulinx

I have a web site and i want this.


When somebody visits my site, i want him to be auto-directed to ... adress


How can I do that in Front Page? Or can somebody please give me the html code for it_?

Share this post

Link to post
Share on other sites

Moderation: Topic moved to the Programmer's Corner.


Please don not post non-hardware related topics in the hardware forums.


On way to do this would be with javascript... example would be like this:


Place this in the head tag:

<script language="JavaScript">
function OCC_goToURL() { //v3.0
 var i, args=OCC_goToURL.arguments; document.OCC_returnValue = false;
 for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");


Then make the body tag look like this:

<body onLoad="OCC_goToURL('parent','http://www.overclockersclub.com');return document.OCC_returnValue">


Keep in mind, this requires Java.


If you are doing your site in ASP or PHP, there are ways to do it in those languages...


PHP would be something like this at the begning of the code:


<?php header("Location: http://www.overclockersclub.com"); ?>

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...