Routing php query using .htaccess
问题 I am trying to find a better solution to solve the issue. I am not using any framework like silex, Yii, etc. Thus I do not have the general routing handling mechanism provided by these frameworks. My URL patterns are like routing.php routing.php?action=create routing.php?action=list&id=1 and the resulting URL I want to have are /routing /routing/create /routing/list/1 I have some very basic understanding of .htaccess, below is my current foundings RewriteEngine On RewriteBase /name/