redirect help

Discussion in 'Apache' started by ZedPoint, Jun 23, 2008.

  1. #1
    I have changed my site structure and am using a diferrent cms script for the backend.

    I need to redirect old linked .php pages to the new extenless pages

    ie. mysite.com/page.php to mysite.com/page/

    I need it to be catch all as there are alot of pages that need this.

    here is what's in the .htaccess file now:
    <IfModule mod_php4.c>
    php_value session.use_only_cookies 1
    php_value session.use_trans_sid 0
    </IfModule>
    
    <IfModule mod_rewrite.c>
    Options +FollowSymLinks
    
    RewriteEngine on
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
    
    RewriteRule .* index.php [QSA,L]
    </IfModule>
    Code (markup):
     
    ZedPoint, Jun 23, 2008 IP
  2. ZedPoint

    ZedPoint Guest

    Messages:
    297
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Sorry for the bump, but three days and not even one reply to help me with my problem...

    Any one have an idea for this apache newb
     
    ZedPoint, Jun 27, 2008 IP