Custom URL rewriting - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Custom URL rewriting (/showthread.php?tid=35975) |
Custom URL rewriting - El Forum - 11-17-2010 [eluser]shankar ganesh[/eluser] In my .htaccess file it contains below lines, Code: Options +FollowSymLinks In codeignitor,when i try to access the file rewrite.php using the below URL its not working. http://wwa.jumpwebservice.com/ARG/system/application/controllers/testing/rewrite how to access "rewrite.php" by giving "/rewrite" in URL and how to modify it in htaccess. Custom URL rewriting - El Forum - 11-17-2010 [eluser]Dennis Rasmussen[/eluser] Have you tried this? http://ellislab.com/codeigniter/user-guide/general/routing.html Custom URL rewriting - El Forum - 11-17-2010 [eluser]shankar ganesh[/eluser] The below lines are used in .htaccess, its working fine. Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^ARG/system/application/controllers/testing/rewrite$ ARG/system/application/controllers/testing/rewrite.php [NC] |