To access the parameter in php with $_GET[’doc’], and have the user see the clean url /name/id/1 you can rewrite as follows:
RewriteRule ^/name/id/1 (.*)$ /names/?id=11 [NC]
Hope this will help you. If you need any kind of help you can contact us as we are one of best Magento extensions developer.
Get 25% discount all our Magento Extensions.
Thanks for help.
but i dont want to write any thing in the htaccess file
i found some method said that i need to write some code in etc/config.xml & create a Controller/Router.php