![]() |
URL link, wrong redirection? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: URL link, wrong redirection? (/showthread.php?tid=62307) |
URL link, wrong redirection? - solidcodes - 07-01-2015 Hi guys this is very easy but I can't figure it out.I created this link below in CI. Code: <?php echo anchor('jaz_auth_front/register_form', 'Register', 'title="Register"'); ?> My default controller in route is jaz_auth_front. Now when I click that link code above it redirect me to /localhost/xampp/ Why is this? By the way the method register_form in jaz_auth_front looks like this below, Code: function register_form() Any help?, thanks in advance. RE: URL link, wrong redirection? - solidcodes - 07-01-2015 Okay understand now, the .htaccess codes below doens't work. Code: <IfModule mod_rewrite.c> RE: URL link, wrong redirection? - CroNiX - 07-02-2015 Try changing RewriteRule .* index.php?/$0 [PT,L] |