I want to hide app subfolder from url. Ex: http://abc.in/demos/gapps/User/signup here User is sub folder of app. I want to remove foldername from url. and access like this http://abc.in/demos/gapps/signup
Please help us coding Present htaccess in main and app dirextories code
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
This is not working Please help me how to change.
Use
Router::connect(
'/url_Customized/*',
array('controller' => 'Original_Controller_To_point_Like_users', 'action' => 'Your_Action_like_signup')
);
Refer here
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.