how to hide url in cakephp?
I m doing web application in cakephp1.3. I want my Url
http://mydomine.com/cakephp/users/login to be display as http://mydomine.com/users/login. Where users is controller name and login is action. I dont want to display cakephp on my url. Please help me to fix this bug.开发者_开发百科
Thanks in advance
Pushpa
You can direct your domain to the cakephp directory... No need to work with rewrite.
either move all the files from the cakephp folder to the / folder, or use apache rewrite rules to remove cakephp from the request
Put all of the content of your app dir to your web folder and then u will be able to access home page of your project directly. Don't forget to copy .htaccess.
精彩评论