.htaccess emergency! please help

Discussion in 'Apache' started by raven2424, Apr 17, 2006.

  1. #1
    i have this code

    Options +Indexes
    Options +FollowSymlinks
    RewriteEngine on
    RewriteBase /
    RewriteRule ^(.*).htm$ index.php?done=$1.htm [L]

    so that the url would be like domain.com/page.htm but now all my pages are .php so what would the .htccess code be to that i would get same result??

    i want to use my links like domain.com/page.php
     
    raven2424, Apr 17, 2006 IP
  2. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Options +Indexes
    Options +FollowSymlinks
    RewriteEngine on
    RewriteBase /
    RewriteRule ^(.*).php$ index.php?done=$1.php [L]
    Code (markup):
     
    mad4, Apr 18, 2006 IP