htaccess optional parameter

by Prakash 2013-01-18 17:56:40

htaccess optional parameter

Here the second parameter in the url is optional

RewriteCond %{REQUEST_URI} /faq/?(.*)
RewriteRule ^faq/?(.*) ./user/discussions/index.php?page=$1 [QSA,L]

Tagged in:

501
like
0
dislike
0
mail
flag

You must LOGIN to add comments