Hi there,

I've just redesigned a clients website and I'm seeing behaviour in CouchCMS I haven't seen before.

If I go to a file that doesn't exist (domain.com/1234546.php) the 404.php page set within config.php displays fine, if I go to another (domain.com/123456.html) that doesn't exist but with a different extension it displays the login window of the admin panel.

Likewise if I go to a template that doesn't exist (domain.com/locations/classes/123456) then the admin panel login screen is displayed not the 404 page.

What can I look at to resolve, the pretty URLs is enabled and gen_htaccess has been run and written to the .htaccess file as normal.

Many thanks, Ben.