TinyPortal

Development => Support => Topic started by: MrApples on January 11, 2007, 10:48:49 PM

Title: Multiple Front-Pages
Post by: MrApples on January 11, 2007, 10:48:49 PM
How could I make it so if visitors enter a sub-domain and not the main, a seperate front page would come up with news/etc for only one forum, or part of the forums? 
Title: Re: Multiple Front-Pages
Post by: akulion on January 12, 2007, 12:03:12 AM
ull have to use 3 things I think

1: search for a redirection script on the web - those come in handy for diverting people to other pages from a particular page

2: make sure ur server settings are set so that the read HTML files by default before PHP (ask ur host if ur unsure about this one) - then create a HTML page with the redirect script on it - leading to another PHP based page

3: on this other php based page u will have to include a reference to ur SSI.php and call the news/ recent posts, etc using that. For more on usage of SSI please refer to simple machines.

So in a nutshell - this is quite a task, so there really isnt a 'put this code' answer :up: 
Title: Re: Multiple Front-Pages
Post by: MrApples on January 12, 2007, 12:35:48 AM
Wasn't expecting a put this code answer, was hoping for a edit this file though. I think i'll have to practice php more before I attempted this.