I want to use URL manager in one of my YII project , I have enabled the URL manager component in main.php
‘urlManager’=>array(
‘urlFormat’=>‘path’,
‘showScriptName’=>false,
I have also added the .htaccess file under my document root , which contains the following rule
Options +FollowSymLinks
IndexIgnore /
RewriteEngine on
if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
otherwise forward it to index.php
RewriteRule . index.php
Now if I try to open an URL such as http://sample.com/cand/profiledispaly&step=all , nothing happens , the user remains on the home page only , can any one help me out. due to some unknown reasons I am not able to highlight the code .
Thanks