Pretty-URLs mit .htaccess

Ich habe eine URL http://localhost/index.php?user=1. Wenn ich diese .htaccess Datei

Options +FollowSymLinks
RewriteEngine On

RewriteRule ^user/(.*)$ ./index.php?user=$1

Werde ich jetzt nutzen darf http://localhost/user/1 link. Aber wie wäre es http://localhost/index.php?user=1&action=update wie kann ich es machen das in http://localhost/user/1/update ?

Auch, wie kann ich diese url http://localhost/user/add ?
Danke. Sorry ich bin relativ neu in .htaccess.

InformationsquelleAutor Port 8080 | 2014-08-01
Schreibe einen Kommentar