collapse

Author Topic: Startup Page  (Read 1789 times)

0 Members and 1 Guest are viewing this topic.

Offline william777

  • DS User
  • Not So New
  • *
  • Posts: 13
  • Attack: 90
    Defense: 87
    Attack Member
Startup Page
« on: December 08, 2007, 08:11:11 PM »
Hi Skhilled, how do I

set the startup page from "Home" to Forum". When someone logs into my site,

the startup page is always "Home".
Bless the Lord, O my soul -

Psalm 103

Offline Skhilled

  • Administrator
  • Hero Member
  • *
  • Posts: 2588
  • Attack: 3025
    Defense: 2963
    Attack Member
  • Gender: Male
  • Retro Gamer!
    • Doc Skillz!
Re: Startup Page
« Reply #1 on: December 09, 2007, 04:37:33 AM »
This is

because of the index.php or index.html that is in your site's root folder. It contains

the info to show the home or main page.

If you wish to show the forum when users

come to your site there are several ways to do this. The most common 2 are using redirects.

You can do this via your server or by adding code to your index file.

For the

server option go to cPanel, if you are using it, and click on "Redirects". You

can choose a url and then a folder to redirect it to.

For the code option you

can use the following code and save it as "index.php". Put this in the root

folder. If you have any other index files then rename then so they don't work and no

one will view them instead.

Code: [Select]
<?php
Header
("location: 

http://www.skhilled.com/smf/index.php"
); 
exit;
?>
Just change the

url to your site and the folder where your forum is. In your case, it should be:

http://www.leeyoungae.com.au/lya_forum/index.php

Using this prevents you from

having to move your entire forum to the root folder. You can have multiple forums and just

change the redirect, if needed. You could also create a menu of links to the other forums

or links you want your users to go to.
« Last Edit: December 09, 2007, 04:40:04 AM by Skhilled »


Offline william777

  • DS User
  • Not So New
  • *
  • Posts: 13
  • Attack: 90
    Defense: 87
    Attack Member
Re: Startup Page
« Reply #2 on: December 10, 2007, 05:01:57 AM »
Thanks Skhilled for

the detailed instructions ... much appreciated.
Bless the Lord, O my soul -

Psalm 103

Offline Skhilled

  • Administrator
  • Hero Member
  • *
  • Posts: 2588
  • Attack: 3025
    Defense: 2963
    Attack Member
  • Gender: Male
  • Retro Gamer!
    • Doc Skillz!
Re: Startup Page
« Reply #3 on: December 10, 2007, 03:42:40 PM »
Anytime! :D


 

ordinary
ordinary
ordinary
ordinary