Quick HTML help

dak125

Golden Member
Jan 11, 2003
1,363
0
76
Alright, I've done this before but I cannot for the life of me get this to work. All I want to do is forward "www.mywebsite.com" to "www.mywebsite.com/blog".

I don't need an announcement or a delay, just simply make the main page go somewhere else :). I've googled my heart away and have tried every single example I could find changing the appropriate fields to no avail.

Can anyone help a guy out? :)

Thanks in advance!
 

esun

Platinum Member
Nov 12, 2001
2,214
0
0

NiKeFiDO

Diamond Member
May 21, 2004
3,901
1
76
java script will take care of this also:

Code:
<SCRIPT LANGUAGE="JavaScript">


<!--

window.location = "mywebsite.com/blog"; 

//-->

</SCRIPT>

However, if someone has javascript turned off, it won't work.
 

troytime

Golden Member
Jan 3, 2006
1,996
1
0
you can do it in htaccess to, that way you don't need an index file in the webroot