[SEO] - Deleted tags not redirecting to 404 error page#8040
[SEO] - Deleted tags not redirecting to 404 error page#8040fancyFranci wants to merge 7 commits intojoomla:stagingfrom fancyFranci:staging
Conversation
|
Language strings are normally ordered alphabetically so please can you update the proposed change in the language file |
|
Thank you for your comment! |
|
I have tested this item ✅ successfully on ec507fc Result as expected This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8040. |
|
I have tested this item ✅ successfully on ec507fc This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8040. |
|
RTC is on hold until @FPerisa gets time to fix the language string ordering ;) Thanks. |
|
@FPerisa Can you please fix the language ordering so we can merge this fix? Thank you. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8040. |
|
I have tested this item successfully; with result as expected. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8040. |
|
I successfully tested, I think is a sensible change. The test took place in the Pizza and Fun JUG Rome. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8040. |
|
@FPerisa can you please merge https://github.com/FPerisa/joomla-cms/pull/1 to move this to RTC? |
|
RTC since the language strings are now alpha ordered This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8040. |
A Solution for issue #5148
The issue:
When an url of an unknown tag is requested, joomla handles this like an existing tag with the message "No matching items were found.". A 404 error should be thrown instead.
My solution:
When the tag ID (out of the given url) is searched in the database, I check the primary key of the "found" object. When there is no one, I throw the 404 error, with a "Tag not found." message.
Testing instructions:
Expected result:
A 404 error appears instead of a "No matching items were found." message.
Worked as a group on that issue: @icampus @Flow87 @kathastaden @xsability