I am working on SEF - router.php to make my site url user friendly. This is my url and I want to remove the name 'component' and 'com_test' from this url.
http://localhost/projects/component/com_test/project/1-unique.html
I have checked with unset($query['view'])
but it doesn't make any changes on the site.
Note : Please dont got for creating menu item for aliases.