Hi,
I just started looking into apache rewrite module and im stuck as to how to get it working. I've looked at alot of places online but get lost in the explainations. If someone could help me through examples it would be greatly appreciated.
So... my problem is basically, I want to redirect a php url to a simpler one without ?'s and &'s:
http://www.domain.com/stuff/category.php?phone=nokia&order=title&category_id=1&page=2
to something like:
http://www.domain.com/stuff/nokia/title/1/2
RewriteEngine on RewriteBase / RewriteRule ^stuff/(.*)/(.*)/(.*)/(.*)$ /stuff/category.php?phone=$1&order=$2&category_id=$3&page=$4
Give that a try....