You are not logged in.
Hi all,
What happens:
When you mistype an URL of an event in Maian Events you get a 403 error, not a 404 error because it's a not found.
This doesn't happen if a folder of Maian Events is mistyped (or doesn't exist), the 404 error shows as intended.
Proof of concept:
https://www.maiansoftware.com/demos/mevents/?e=16667
This event doesn't exist but it shows a 403 error instead the 404 error.
Why it should be fixed?:
In these pandemic days, there are a lot of cancelling events and for Google:
Access denied errors often take the form of a 403 Forbidden response code. When Google returns this error it generally means that the website’s server or host is blocking Googlebot’s access.
These errors are bad for SEO because the search engines can’t crawl that page. If the error isn’t fixed after a certain period of time Google may just de-index the page entirely.
Thanks for your work!
Last edited by SayWhatAgain (28-11-2020 11:53:11)
Well, if someone tries to access a page that doesn't exist, I tend to think it should throw a 403. The system has no way of knowing if a url used to be a valid url, so I prefer to throw the 403. If you want to change it open up 'control/system/modules/event.php' and change:
if (!isset($EVNT->id)) {
include(PATH . 'control/system/headers/403.php');
exit;
}
to use 404.php instead.