The site in development: http://kauaiwedpro.com/rebuild (I'm not responsible for the site [php, sql, etc.], I was ONLY asked to do the mod_rewrite)
The mod_rewrite tasks:
1:
PHP Code:
http://www.kauaiwedpro.com/rebuild/wedding-coordinators
instead of
http://kauaiwedpro.com/rebuild/category.php?cat_id=1
--> I solved that via
RewriteRule ^([a-zA-Z-0-9]+)$ category.php?cat_id=$1
But where I am faltering is:
2:
PHP Code:
[http://www.kauaiwedpro.com/rebuild/wedding-coordinators/a-simple-marriage
instead of
http://kauaiwedpro.com/rebuild/listing.php?cat_id=1&listing_id=1
I tried all sorts of rewrites, and the closest I get is
RewriteRule ^([a-zA-Z-0-9]+)/([a-zA-Z-0-9]+)$ listing.php?listing_id=$1&cat_id=$2
but nothing is working 
It seems I would first have to define for example http://kauaiwedpro.com/rebuild/listi...g-coordinators , but I am faltering even there (sigh).
Would any of you pros please point me into the right direction (and if you feel like it explain where I'm thinking wrong).
Thank you,
Lee
Bookmarks