Community Forum

If you have questions about my software, chances are this forum has the answers.

You'll need to register before you can post on the forum to ask your question or to answer another one. A reply will be posted to each and every question that is asked so there is no need to double post or bump your post. I do my best to answer promptly but in some cases it may take a day or two. If you bump your post, it may be removed. Bear with me and I`ll get your question answered quickly.

Here are a few tips to help you to get your questions answered more rapidly.

IMPORTANT: Posts in English only. I don't have a translator and I'll be unable to understand your message properly and will probably delete it.
SEARCH: Use the search option to see if your question has been answered on the forum before now or if there is an answer in the documentation of your software.
PERSONAL SUPPORT: If you have purchased a commercial version of any software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
LINKS: Any links posted are not clickable and must be copied / pasted into your browser address bar.

You are not logged in.

#1 SayWhatAgain 28-11-2020 11:52:34

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:

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)

#2 msworld 02-12-2020 04:00:21

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');

to use 404.php instead.

Board footer

Maian Script World - Free PHP Software for Personal or Business Use.
© 2003-2021 Maian Script World & David Ian Bennett. is an authorized reseller of goods and services provided by Maian Script World

Free PHP Software / Responsive PHP Scripts / Lightweight PHP Software / White Label PHP Software