uiui Posted October 10, 2022 Share Posted October 10, 2022 Hello, I have no idea why unpublished pages lead to the admin login instead of displaying the error 404 page. Does anyone have an idea where I should look at? Link to comment Share on other sites More sharing options...
uiui Posted October 31, 2022 Author Share Posted October 31, 2022 Now I even have a case in which the login form shows up even though I moved the page to the trash. I also can't use a jumplink to redirect to a different URL. Link to comment Share on other sites More sharing options...
uiui Posted April 6, 2023 Author Share Posted April 6, 2023 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 More sharing options...
wbmnfktr Posted April 6, 2023 Share Posted April 6, 2023 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 More sharing options...
uiui Posted April 6, 2023 Author Share Posted April 6, 2023 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 Processwire 3.0.210 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 Yes, with a random URL that isn't linked to any page, it works (or using the URL of a deactivated language) The 404 template exists No redirects in the 404 template Yes, 27 No URL segments No hooks One site Multi-language I can't of anything fancy to the configuration that might cause that issue. Link to comment Share on other sites More sharing options...
wbmnfktr Posted April 6, 2023 Share Posted April 6, 2023 RestApi 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 Redirects don't happen that random that's why I am bit confused for this one. 2 Link to comment Share on other sites More sharing options...
uiui Posted April 11, 2023 Author Share Posted April 11, 2023 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 More sharing options...
wbmnfktr Posted April 13, 2023 Share Posted April 13, 2023 Just another guess... what kind of setup is that production one? Standard Apache or maybe NGINX or CDN in-between there somewhere? 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now