php - Having multiple RewriteRule -
i have kind of dilemma htaccess file. trying move our site codeigniter , off of miva causing me headaches.
this problem
my page here , when click on link on top buy equipment miva page codeigniter error
here htaccess state
directoryindex index.php rewriteengine on rewritecond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico) rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.*)$ ./index.php/$1 [l,qsa] rewritecond %{request_uri} !\. rewritecond %{request_filename} !-d rewritecond %{request_uri} ^/([\w\-]*)/([\w\-]+)$ [nc] rewriterule (.*) /mm5/merchant.mvc?screen=prod&store_code=pos_systems&category_code=%1&product_code=%2 [qsa,l] # rewritecond %{request_uri} !\. rewritecond %{request_filename} !-d rewritecond %{request_uri} ^/([\w\-]+)/?$ [nc] rewriterule (.*) /mm5/merchant.mvc?screen=ctgy&store_code=pos_systems&category_code=%1 [qsa,l] but if comment out top
# directoryindex index.php # rewriteengine on # rewritecond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico) # rewritecond %{request_filename} !-f # rewritecond %{request_filename} !-d # rewriterule ^(.*)$ ./index.php/$1 [l,qsa] then page shows want codeigniter nice url doesnt work example url
http://dev.posnation.com/index.php/welcome instead of
http://dev.posnation.com/welcome
Comments
Post a Comment