Welcome Guest, Not a member yet? Register   Sign In
show 404 question
#3

An empty href="" will just link to the page you are on. If you are on the homepage already, that's why the link keeps going there. You actually have to link to a page that does not exist to get a 404.

So if you just installed CI, have a link to href="<?php echo site_url('welcome/does-not-exist'); ?>" for example.
Reply


Messages In This Thread
show 404 question - by wolfgang1983 - 03-28-2015, 11:59 PM
RE: show 404 question - by Muzikant - 03-29-2015, 01:13 AM
RE: show 404 question - by logsdon - 03-29-2015, 04:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB