News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

[RC4] index.php - Best way to redirect to forum/arcade?

Started by [Lucien], February 03, 2011, 06:39:29 AM

Previous topic - Next topic

[Lucien]

Hello everyone :)

I have my forum installed in mysite.com/forum

What is the best way to redirect users directly to my forum or arcade when they visit mysite.com


Thnx :)
I'm using SMF 2.0.2 and SimplePortal 2.3.4

JBlaze

Create an index.php in your root folder with this:
<?php
header
('HTTP/1.1 301 Redirect');
header('Location: http://www.mysite.com/forum/');
?>


Replace mysite.com with your forum's URL.
Jason Clemons
Former Team Member 2009 - 2012

[Lucien]

I'm using SMF 2.0.2 and SimplePortal 2.3.4

Advertisement: