Welcome Guest, Not a member yet? Register   Sign In
navigation
#1

views/index.php


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:

http://127.0.0.1/ecommerceCI3_backend/in...gories.php

I wonder why?
" If I looks more intelligence please increase my reputation."
Reply
#2

check your base_url seting in config file.
          Heart  love codeigniter Heart
          Learning  best  practices
     Rate my post if you found it helpfull
Reply
#3

$config['base_url'] = '';

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

Thanks in advance.
" If I looks more intelligence please increase my reputation."
Reply
#4

You need to set your base_url with an ending /
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB