Anyone know how to do url rewriting. I need to convert querystrings like: page.php?p=1 into more friendly page.php/p/1 Thanks
put the following in your .htaccess file.. Options +FollowSymLinks RewriteEngine on RewriteRule ^page.php/p/(.*) /page.php?p=$1 Code (markup): But better something like Options +FollowSymLinks RewriteEngine on RewriteRule ^some-text-(.*)\.htm$ /page.php?p=$1 Code (markup): some-text-2.htm will be converted to /page.php?p=2 I didn't test, but it should work. It would be easier if you read an manual, url rewriting is pretty important.
Hey, I can help you with this. Here is one of my sites that use mod_rewrite: http://www.psychdip.com/