Jump to content

Unpublished pages point to admin login instead of showing 404 page


uiui
 Share

Recommended Posts

  • 3 weeks later...
  • 5 months later...

Am I the only who ran into this issue?

I might add that jumplinks are working for other languages as long as the page is still published, and I deactivate those languages. As soon as I unpublish the whole page, users are again ending up on the admin login.

Link to comment
Share on other sites

Which version of ProcessWire are you using?
Which modules do you use?

Is the 404 page working at all?
Does the template exist?
Is there a redirect defined in the template?
Is it the original 404 page, with ID 27?

Is there something special with this setup?
URL segments?
Any hooks?
Multisite?
Multilanguage (I guess)?

 

Link to comment
Share on other sites

36 minutes ago, wbmnfktr said:

Which version of ProcessWire are you using?
Which modules do you use?

Is the 404 page working at all?
Does the template exist?
Is there a redirect defined in the template?
Is it the original 404 page, with ID 27?

Is there something special with this setup?
URL segments?
Any hooks?
Multisite?
Multilanguage (I guess)?

 

Thank you for your response

  1. Processwire 3.0.210
  2. Duplicator
    FieldtypeColor
    FieldtypeFontIconPicker
    FieldtypeRepeaterMatrix
    FileValidatorSvgSanitizer
    FormBuilder
    GoogleClientAPI
    ImageExtra
    InputfieldColor
    InputfieldFontIconPicker
    MarkupFontIconPicker
    MarkupSimpleNavigation
    PageimageSource
    PageSnapshot
    PasswordForceChange
    ProCache
    ProcessAdminActions
    ProcessDuplicator
    ProcessExportProfile
    ProcessJumplinks
    ProcessLanguageFieldExportImport
    ProcessProCache
    ProcessVersionControl
    ProcessWire dev
    ProcessWire master
    ProcessWireUpgrade
    RestApi
    Sassify
    SeoMaestro
    SimpleContactForm
    TextformatterHannaCode
    TextformatterVideoEmbed
    VersionControl
  3. Yes, with a random URL that isn't linked to any page, it works (or using the URL of a deactivated language)
  4. The 404 template exists
  5. No redirects in the 404 template
  6. Yes, 27
  7. No URL segments
  8. No hooks
  9. One site
  10. Multi-language

I can't of anything fancy to the configuration that might cause that issue.

Link to comment
Share on other sites

  1. RestApi
  2. Jumplinks

These are the only modules that take care of or interfere with your URLs - at least I know this for sure with these two.

What I would do now is this:

  • Check the Access settings in the template
  • Check the 404 monitor in Jumplinks to see if the 404 exception actually exists/gets caught.
  • Check for existing jumplinks in Jumplinks for that URL.
  • Check that specific page you are testing with for entries in the settings tab under What other URLs redirect to this page?
    • Check if PagePageHistory module is installed, which is needed for the previous point
  • Check redirects in .htaccess.
  • Check if the RestApi module is involved here and double check that setup.
  • Check the settings in the Languages Support - Page Names module
  • Check if there is something in _init.php, init.php, ready.php and maybe even config.php.
    • Or search any of your templates for: $session->redirect and redirect

pwlang404.thumb.png.506e33bfa26d45a64cf5e2fffe5eb584.png

Redirects don't happen that random that's why I am bit confused for this one.

  • Like 2
Link to comment
Share on other sites

I've looked at all those things and compared my local installation, on which it works, with the productive one and didn't see any differences.

What I find interesting is that the 404 monitor also doesn't include the request, only after I change the page's URL.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...