html in php,how to make url friendly.

Discussion in 'PHP' started by qdungeng, Nov 11, 2010.

  1. #1
    qdungeng, Nov 11, 2010 IP
  2. dixcoder

    dixcoder Member

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    26
    #2
    you can do that with the help of .htaccess


    RewriteEngine on
    RewriteBase /
    RewriteRule ^(.*)\.html$ $1.php [L]
     
    dixcoder, Nov 12, 2010 IP