Forums

redirect the home page (1 post)

  1. ronchicago
    Member
    Posted 10 months ago #

    1) out of the box my home page = 'index.php" and the url = domain.com

    2) i wish the home page to be a new template page = "splash.php" and the url = domain.com ( splash.php is not a simple static page )

    3) my isp gave me a modification while mentioning they aren't all that familiar with wp. the mod goes something like this...

    a) i create a new folder = "younameit" and put all wp files inside of it
    b) move splash.php out of wp & younameit and directly in the root directory = public_html
    c) add an .htaccess file in same directory as splash.php which reads as follows...

    -bash-3.00# cat .htaccess
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /younameit/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /younameit/index.php [L]
    </IfModule>

    php_value session.cookie_domain MY.DOMAIN.COM

    DirectoryIndex enter.php

    d) isp to update DirectoryIndex to load splash.php
    e) i write appropriate php include() function to get files from "younameit" directory which reside in splash.php

    4) thoughts?

Reply

You must log in to post.

About this Topic