I am having problem in configuring the .htaccess file for my cakephp project.
When i am using simple php the RewriteRule is working absolutely fine. But its causing problems in cake framework..
What i want to do is to hide the name of the controller.
e.g
Actual URL:
http://localhost/myproject/users/profile
what i want is:
http://localhost/myproject/profile
The RewriteRule i am using is:
RewriteRule /profile /users/profile
Note: the .htaccess file is in the project folder.... This rule is working fine without the cake framework.
Please help. Need this solutions real bad and fast..
Thanks.
Cakephp
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
-
Md_Murtuza_Hasan
- Forum Newbie
- Posts: 2
- Joined: Fri May 22, 2009 1:59 am
Re: Cakephp
Sorry for dat. Do u have any solution to the problem i mentioned ?arborint wrote:Please do not double post.
Re: Cakephp
You may also want to read:Forum Rules wrote: 11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.