? No Code Attached Yet
avatar coolcat-creations
coolcat-creations
19 Sep 2022

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

avatar coolcat-creations coolcat-creations - open - 19 Sep 2022
avatar joomla-cms-bot joomla-cms-bot - change - 19 Sep 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Sep 2022
avatar drmenzelit
drmenzelit - comment - 19 Sep 2022

In Joomla 3.10.11 is the same
grafik

avatar coolcat-creations
coolcat-creations - comment - 19 Sep 2022

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.

avatar coolcat-creations coolcat-creations - change - 14 Nov 2022
Title
J4.2.2 Joomla gives 301 Status code for 404 Pages
J4.2.2 Joomla displays 301 Status code for 404 Pages
avatar coolcat-creations coolcat-creations - edited - 14 Nov 2022
avatar Hackwar Hackwar - change - 17 Feb 2023
Labels Added: ?
avatar Hackwar Hackwar - labeled - 17 Feb 2023

Add a Comment

Login with GitHub to post a comment