Replies: 5 comments 6 replies
|
Hello, |
If a category was deleted tracing the category back will be impossible, but the breadcrumb would be useful in case the object is disabled or inaccessible. In case of a product we could check the ID in the URL to get the category. |
|
Yes, I agree. I did some research and apparently keeping the URL with a 404 response is a better solution than a redirect to One downside is that if we set the 404 template like category and product controller does ( It would be best if we were able to run the
Yeah, that's just one of the bugs and incosistencies that I wanted to show.
We don't have to worry about tracing the category. If we can't find any content for the URL, just leave it be. :-) |
|
I converted this issue to the Idea since it fits better here. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
What is wrong
Depending on type of the object, there are multiple ways 404 errors are handled for objects that don't exist.
Redirect vs 404 template
Different look of pages
For products, it's showing broken breadcrumbs and an error.
URL stays https://www.domain.cz/categoryrewrite/123-productrewrite.html
For categories, only the message.
URL stays https://www.domain.cz/123-categoryrewrite
For 404 controller, only the message.
Page is redirected to URL https://www.domain.cz/index.php?controller=404
TODO
All reactions