mod_rewrite
Posted: Fri Apr 28, 2006 2:37 am
I have just started looking at mod_rewrite.
Would this rule
Change
ad_index.php?page=adminorders
into
/page/adminorders
?
I know it's basic but just starting somewhere.
I'm on shared hosting so not sure when they restart apache for me to test this. 
Also anyone know a good tutorial on mod_rewrite? Nice and easy to understand please, hehe.
I'm not that familar with regular expressions, have used them now and again, but i'm no expert on them, so a pointer on a good place to read about them would help also.
Thanks all.
Would this rule
Code: Select all
RewriteEngine on
RewriteRule ^page/([^/\.]+)/?$ ad_index.php?page=$1ad_index.php?page=adminorders
into
/page/adminorders
?
I know it's basic but just starting somewhere.
Also anyone know a good tutorial on mod_rewrite? Nice and easy to understand please, hehe.
I'm not that familar with regular expressions, have used them now and again, but i'm no expert on them, so a pointer on a good place to read about them would help also.
Thanks all.