CodeIgniter Forums

Full Version: Issue with web page not changing with link click
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

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:

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.


El Forum

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?

El Forum

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.