Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    1

    Default How do I add a front page to my forum?

    I want to add an main page that brings you to the forum how do I do that?

  2. #2
    Member
    Join Date
    Feb 2006
    Posts
    111

    Default

    Have a index.php file that includes


    header "Location : forums/"


    forums/ being the directory of your forum.


    Really this question should not be asked on here, i felt kind.

  3. #3
    Member avijit's Avatar
    Join Date
    Jul 2004
    Location
    India
    Posts
    116

    Default

    You need to setup a redirect to the domainname.com/forum
    Stop Reymond !! A single conversation with a wise man is better than ten years of study. So....

  4. #4
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    Quote Originally Posted by WEB-PROS
    header "Location : forums/"
    [being_pedantic]
    HTTP/1.1 requires the 'location' header to contain an absolute URI and not a relative one.

    Furthermore, the correct usage is:

    Code:
    header("Location: URI");
    http://uk.php.net/manual/en/function.header.php
    [/being_pedantic]

  5. #5
    Member
    Join Date
    Feb 2006
    Posts
    111

    Default

    You are correct however i have used it without full urls and it has worked correctly. However you are totaly correct.

  6. #6
    Member
    Join Date
    Nov 2005
    Posts
    125

    Default

    Yeah, it shouldn't be asked here unless you want to know how to do it within cPanel. Which you don't need to do. It's simply creating a redirection file.
    Shock Hosts
    __________________________________________________
    Simply Hosting. Simply Good. | Quality Web Hosting.

    Sales: Sales@ShockHosts.Net | Support: Support@ShockHosts.Net

    Visit ShockHosts Now!

  7. #7
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    Quote Originally Posted by WEB-PROS
    You are correct however i have used it without full urls and it has worked correctly. However you are totaly correct.
    HTTP clients don't, according to the RFCs, have to understand relative URLs in redirects and so some HTTP clients may simply not respond correctly.

    I doubt, however, that any such clients actually exist. As I indicated, I was just being pedantic!

Similar Threads & Tags
Similar threads

  1. Front Page D E A D
    By landrena in forum cPanel and WHM Discussions
    Replies: 20
    Last Post: 03-03-2006, 12:41 AM
  2. Front Page Extensions on add-On domains?
    By gflamerich in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-23-2004, 09:20 PM
  3. front page, front page extensions and forms
    By britt in forum New User Questions
    Replies: 2
    Last Post: 09-12-2004, 11:25 AM
  4. Front Page and Add-ons
    By Tom Pyles in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 12-24-2002, 03:46 AM
  5. front page for add on domains
    By cheapo in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-23-2002, 07:58 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube