anchor function is getting redirected to home page always irrespective of url |
[eluser]Unknown[/eluser]
hello, i have used anchor function in my header.php file to set url's for tabs. Default controller is set in routes.php file as $route['default_controller'] = "web/master"; the code used for anchor function is like <?php echo anchor('blog', 'BLOG'); ?> The extension added is .html which is set in config.php as $config['url_suffix'] = ".html"; On clicking on tab the address bar shows the url as http://localhost:83/myapplication/blog.html but the page it shows is http://localhost:83/myapplication/index.php So i am unsure about what is going wrong with it. Can anybody please help me out with this? Thanks in advance... |
Messages In This Thread |
anchor function is getting redirected to home page always irrespective of url - by El Forum - 05-30-2011, 01:43 AM
anchor function is getting redirected to home page always irrespective of url - by El Forum - 06-01-2011, 01:09 PM
|