actually it's not that hard once you understand how this works.. the most basic example would be
create a file called .htaccess and paste this into it
Quote:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^([^/]+)/([^/]+)/([^/]+) index.php?first=$1&second=$2&third=$3 [NC,L]
</IfModule>
|
save it and upload it to your server
now create the index.php file
upload both to your server and open up
domain.com/cars/bmw/engine
it will print something like
Array ( [first] => cars [second] => bmw [third] => engine )
Regards.