Live site paths are not working but its working on dev site |
[eluser]fiktionvt[/eluser]
I did change the base_url() so my base_url in my config looks like this Code: $root = "http://".$_SERVER['HTTP_HOST']; I have not changed my index.php file it still points to the 'application' folder and I did not change the name of that folder so that should be working. In my view the link to the contact page looks like this Code: <li id="nav_contact"><a href="<?php echo site_url('site/contact')?>"><span>Contact</span></a></li> so site is my controller name with the function contact() When I echo out site_url() on my localhost site it comes up as this: http://localhost:81/ci/index.php When I echo out site_url() on my live site it cmes up as this http://livesite.com/index.php I dunno whats wrong everything is working on my dev box. Please any help would be greatly appreciated. |
Welcome Guest, Not a member yet? Register Sign In |