Hi,
Please help me work out this mod-rewrite issue while trying to make my urls SEF.
RewriteEngine On
Options +FollowSymLinks
# Browse Category
RewriteRule ^category/[!/.]*([A-Za-z]+)/?$ /browse.php?cat=$1 [NC,L]
# View Item
RewriteRule ^view/([0-9]+)/([a-zA-Z0-9-]+)$ /view.php?item_id=$1&sef=$2 [NC]
This is my current .htacess.
The browse category rule is working ok
converting - http://localhost/browse.php?cat=people
into - http://localhost/category/people
the view item is giving a 404
trying to convert - http://localhost/view.php?item_id=28&sef=2009-bristol-blenheim-in-west-yorkshire
into - http://localhost/view/28/2009-bristol-blenheim-in-west-yorkshire