Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Make /forums the homepage of my domain
#1
Not Solved
Hi,
basically I own a domain. Let's say it is ohai.com

So when I go to 'www.ohai.com' it shows me the directory of the folders.
I want it to redirect me to 'www.ohai.com/forums' when someone types in 'www.ohai.com'
Any halp?


thanks in advance
Epics
#2
Not Solved
Make a page at ROOT called 'index.php'

Use this code:

<?php
   header( 'Location: http://www.yoursite.com/forums' ) ;
?>

That should work.
Developer @ HF for labrocca
#3
Not Solved
Thanks bud
#4
Not Solved
Or, if you have cPanel, you could simply create a redirect from / to /forums/


Forum Jump:


Users browsing this thread: 1 Guest(s)