Open sshcli opened 6 years ago
I have tried with your example and i obtain an 404 error
Please test it with these:
Good URL: https://k51.jobsnear.net/sub-category?format=feed
Bad URL: https://k51.jobsnear.net/subx-category?format=feed
Even if you see a 404 in the page title, the real http status code is 500
You can also test above URLs with this tool: https://httpstatus.io/
i have changed all 500 to 510, and i still see 500, so i think its from joomla core itself
Additional comments:
ohh, maybe to take into consideration for k.6 or above: JSON Feed
I think this ones comes from
Call to undefined method Joomla\CMS\Document\FeedDocument::addHeadLink()
which is a known issue since 3.8.2 https://github.com/joomla/joomla-cms/pull/18966 https://github.com/joomla/joomla-cms/issues/18962
Other notes:
<?php if (JModuleHelper::getModule('mod_search')) : ?>
Remove this block: <?php if (JModuleHelper::getModule('mod_search')) : ?>
That one solves this problem, I just tested.
What's next? A. New PR in Joomla B. New PR in Kunena C. Forget about a general fix, keep the changes only for me and close this issue.
It seems to have no easy fix for that, so keep this for others users which have the same issue
I got the same issue after upgrading from 5.0 to Kunena 5.1.3. Joomla 3.8.12 Kunena 5.1.3 PHP 7.0.32
In the meanwhile, what I'm doing is redirecting all those error pages to a custom 404 page.
Another thing I found is that these URLs are considered dynamic because of the structure
example.com/category?format=feed&type=rss
Dynamic URLs are not SEO friendly and we should avoid them when possible
Is there any news concerning this issue? Is it possible to fix it?
what I'm doing is redirecting all those error pages to a custom 404 page.
Redirect 404 pages is not good for SEO
When Enable RSS Feeds = No You will get 500 internal server errors instead of 404.
You can try it with this url format: example.com/category?format=feed&type=rss
Please let me know if this a different bug not related to this one, to create a new issue for it
Waiting for your response.
Finally, I discovered the issue I faced with was caused by 3rd party extension and I got 404 error instead of RSS. Now the problem is resolved. So, my request here was a mistake. As for the issue described in this task, I just been tested with my server environment and could not reproduce 500 error when RSS is enabled or disabled. All works fine on my side.
I believe this issue has been addressed in recent 3.9.2
Yes, it has been fixed in J.3.9.2. if Kunena does not need additional changes, we can close this issue.
This issue is stale because it has been open 30 days with no activity.
Steps to reproduce the issue
Try to access to the Welcome Mat Feed ( https://example.com/welcome-mat?format=feed ) it should work ok, you should see the feed
Now try to access to the Welcome Mat Feed with a typo in the URL ( https://example.com/welc-mat?format=feed )
Expected result
You should get HTTP status code: 404 Not Found![404](https://user-images.githubusercontent.com/12942731/38556543-0aad922e-3c98-11e8-9716-30fe3dcc90bc.PNG)
Actual result
You get HTTP status code: 500 Internal Server Error![500](https://user-images.githubusercontent.com/12942731/38556536-065f784a-3c98-11e8-9b7d-d2cb0bbe30d2.PNG)
System information (as much as possible)
Joomla version: 3.8.6 Kunena version: 5.1.0-RC6-DEV Php version: 7.2.4 Database version: MySQL 5.6.38
Additional comments