Hey Guys and Gals,
i have never ventured into mod_rewrite before and i have read a few tut's on them. I want to have "friendly" urls in my application and here is the rewrite i have come up with
i have done the test on this page (http://datakoncepts.com/seo) and it worked. So i know mod_rewrite is set up in my vhost file, and it well work. I am not sure what's going on. Also i hope I did the conditional ones correctly.Code:RewriteEngine on RewriteRule ^/([a-zA-Z_]+)/([a-zA-Z_]+)(/([a-zA-Z_]+)?)(/([0-9]))?/?$ index.php?view=$1&do=$2&action=$3&id=$4 [L]
Thanks
-Colin



Reply With Quote

Bookmarks