Status code 404 not being returned

Keywords: Joomla - AWS - Technical issue - Application configuration

bnsupport ID: 217d13f0-15e9-dae7-7fac-e66142b3b94f

bndiagnostic output:

? Apache: Found possible issues
? Resources: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
https://docs.bitnami.com/bch/apps/moodle/troubleshooting/deny-connections-bots-apache/

bndiagnostic failure reason: The suggested guides are not related with my issue

Description:
This was working and the only change I’ve done is making the site multilingual.

  • error.php file is under template’s location and has the correct code, /opt/bitnami/apps/joomla/htdocs/templates/lt_strategy_onepage

  • copied error.php file under templates/system location also

  • accessing any invalid resource does not return 404 status code but rather 301, 302 and 200 - I’ve used online tools and screaming frog SEO spider tool also

What needs to be done so invalid resources return status code 404? Please note that in the front end, browsers do show the 404 error page but just the status code on the back end which is not working any more.

Will appreciate a second pair of eyes - thanks!

Hi @cguanaja,

It does not seem due to the Bitnami configuration of your application. I recommend asking in the official Joomla forum.

https://forum.joomla.org/

Regards,
Michiel

1 Like

Thanks for the input @michiel - will do.