CodeIgniter Forums
Issue with web page not changing with link click - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: Issue with web page not changing with link click (/thread-61132.html)



Issue with web page not changing with link click - El Forum - 09-24-2014

[eluser]Unknown[/eluser]
Hi There,
Recently we took ownership of a website written in CI. I moved all the files over and when links are clicked, the URL changes but the webpage itself does not.

see here: http://dorothykrause.henkinschultz.com/

Does anybody have any suggestions? It has the same .htaccess file that the original site had and I've modified all the config settings I can possibly think of.

Thanks




Issue with web page not changing with link click - El Forum - 09-24-2014

[eluser]CroNiX[/eluser]
The pages change for me when I click on the 4 links in the header menu as well as the ones in the Areas of Practice right sidebar. Clear your browser cache?


Issue with web page not changing with link click - El Forum - 09-24-2014

[eluser]Unknown[/eluser]
Actually found it a bit ago and changed it.

$config['uri_protocol'] = "PATH_INFO";

This had to be set in the /system/config/config.php file to:

$config['uri_protocol'] = "AUTO";

Something about our Linux server it wasn't agreeing with.

Also rewrote the .htaccess file to this but I don't think it had much to do with it.

RewriteEngine on
RewriteCond $1 !^(index\.php|public|\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1

Hope this helps somebody as well.

Thanks