CodeIgniter Forums
navigation - Printable Version

+- CodeIgniter Forums (
+-- Forum: Using CodeIgniter (
+--- Forum: General Help (
+--- Thread: navigation (/showthread.php?tid=65594)

navigation - davy_yg - 06-28-2016


PHP Code:
                    <li><a href="<?php echo site_url('cpages/pcategories'); ?>">Parent categories</a></li

I wonder when you click the link I wonder why it carries me to this url address:

I wonder why?

RE: navigation - jaynarayan - 06-29-2016

check your base_url seting in config file.

RE: navigation - davy_yg - 06-29-2016

$config['base_url'] = '';

This is the base_url, can you help fix this so that the navigation will works well?

Thanks in advance.

RE: navigation - InsiteFX - 06-29-2016

You need to set your base_url with an ending /