joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

J4.2.2 Joomla gives 301 Status code for 404 Pages

Open coolcat-creations opened this issue 2 years ago • 2 comments

Steps to reproduce the issue

Turn on URL Collecting in the redirect Component and go to your Joomla Website and type in something not existing after the domain, something like yourdomain.com/sudlsdblsdvblhsldh

Expected result

The site is recorded as 404 Error

Actual result

Site is recorded with 301 Status Code

grafik

System information (as much as possible)

I tested this on J.4.2.2 Core, no extensions, just Cassiopeia Also tested on other websites with different templates with same result

coolcat-creations avatar Sep 19 '22 18:09 coolcat-creations

In Joomla 3.10.11 is the same grafik

drmenzelit avatar Sep 19 '22 18:09 drmenzelit

Appears that the table shows "the future" of the entry and not the real status code. I would recommend to write 404 in the status unless a redirect is added, then it can show 301.

coolcat-creations avatar Sep 19 '22 19:09 coolcat-creations