Mod_rewrite Help !

Posted by lixon on Stack Overflow See other posts from Stack Overflow or by lixon
Published on 2010-03-24T08:07:46Z Indexed on 2010/03/24 8:13 UTC
Read the original article Hit count: 281

Filed under:
RewriteEngine on
Rewriterule ^(.*).htm $1.php

This works fine when i try to access every php page

But how could i make it RewriteRule ^/somepage $ /somepage.php (its not working )

if the page is about.php the url should be about/ (directory type)

Please help me . Thanks in advance!

© Stack Overflow or respective owner

Related posts about mod-rewrite