in htaccess or route.php where from you want you can give answer for this issue.
I Need some thing like this.if i have url :
http://tageto.pnf-sites.info/developer/headcategory_controller/head_category/Agriculture
than it must be replaced into
http://tageto.pnf-sites.info/developer/Agriculture
and if i have url like this
http://tageto.pnf-sites.info/developer/headcategory_controller/sub_category/Rice
than it must be replaced into
http://tageto.pnf-sites.info/developer/Agriculture/Rice
Can anybody solve my this issue? Please reply rapidly.
.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(developer)/[^/]+/[^/]+/(.+)$ /$1/$2 [NC,L,R=302]
</IfModule>
By This -> ERROR 404 - Not Found!