![]() |
new server - Url changes, content of page doesn't - htaccess - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: new server - Url changes, content of page doesn't - htaccess (/showthread.php?tid=57205) |
new server - Url changes, content of page doesn't - htaccess - El Forum - 02-26-2013 [eluser]keld[/eluser] Hi all, I'm working on site for a friend, I was developing it on a server hosted by bluehost and now I tried to push it live on a server hosted by OVH, I see the home page fine but when I use the navigation, the url changes but the content of the page stays the same, anyone knows why? I'm 99% sure it's the htaccess, but what causes this? My htaccess is very simple and works with bluehost: Code: RewriteEngine on I looked on google but couldnl't find anything, I used different htaccess that people posted on this forum but nothing works... Please help, Thank you new server - Url changes, content of page doesn't - htaccess - El Forum - 02-26-2013 [eluser]keld[/eluser] Just for clarification, this is what I have in my config file: For base url: Code: $root = "http://".$_SERVER['HTTP_HOST']; and for uri_protocol I tried query string and request uri with no luck... new server - Url changes, content of page doesn't - htaccess - El Forum - 02-26-2013 [eluser]keld[/eluser] Well I figured it out, had to set uri protocol to: Code: $config['uri_protocol'] = 'PATH_INFO'; |