How can i found my error for this specialy 404 error

Hello everyone, I’d like to find a solution to my problem.
Recently, my online site won’t display two of my pages. Even though they’re there and online, I can’t navigate on them using my browser. I get a 404 error instead. What’s more, the 404 error displayed is not at all the 404 error normally configured on my web pages. I don’t understand why my two pages are no longer accessible when I can navigate them without any problem on the editor.
And finally the 404 errors displayed by the browser when I go to this URL.

Thanks in advance for any help.

Hi, what is the second page not working ? Did you try to publish again ?

Hi, another page that is located in the same folder as the one that does not work. All pages in this folder return this type of 404 error.
Yes I retry…

Hi @baptiste :wave:

A few things to check:

  1. is the page you’re trying to access private?
  2. if the page is private, are you getting the error when you are authenticated as an authorized user?

My guess:

  • it’s a private page you are trying to access without being authenticated or without being part of the user group authorized to access the page
  • the page redirection for unauthorized users is not properly setup in the auth plugin. The example below is with the token-based auth plugin but the same logic applies on other auth plugins:

Hello, thanks for help, yes it’s a problem on the private pages. However, I have the error with an authenticated user, whereas access to these pages is defined only for authenticated users


.

thanks for your help, it’s now corrected ! :slight_smile:

2 Likes

For people having the same issue, it can happen when you’ve not fully configured your Auth Plugin and the page to redirect when not signed in is not defined.

2 Likes