Codeigniter redirect to .php file using htaccess |
What I want to do is to redirect the execution to another php (Name: test.php) file placed with index.php
How the redirection should work: Code: http://localhost/skeleton/login Code: http://myserver/dev/index.php/login And Code: http://localhost/skeleton/test/login Code: http://myserver/dev/test.php/login My htaccess trial so far for it (By searching on SO and other sources by Google): Code: RewriteEngine On Need your help guys! Thanks in advance
@akshitarora,
You may need to set your routing rules and or your $config['base_url'] value. Setting your own routing rules: https://codeigniter.com/user_guide/gener...ting-rules What is your $config['base_url'] set to in /config/config.php? |
Welcome Guest, Not a member yet? Register Sign In |