Soma Posted October 6, 2011 Share Posted October 6, 2011 Is this intended? When create a page and leave it unpublished it still can be accessed and viewed on frontend. Just recognized it's only when I'm logged in. Link to comment Share on other sites More sharing options...
apeisa Posted October 6, 2011 Share Posted October 6, 2011 It is intended and allows editors to preview before publishing. Link to comment Share on other sites More sharing options...
ryan Posted October 6, 2011 Share Posted October 6, 2011 That's correct, the page is available only to those with edit access to it, and only by accessing it's URL directly. This is just so that you can preview it before publishing. Link to comment Share on other sites More sharing options...
sww Posted May 12, 2021 Share Posted May 12, 2021 hey there. old post but new problem. i unpubed a post. logged off from pw. but the post is still accessible via direct link. very strange. Link to comment Share on other sites More sharing options...
wbmnfktr Posted May 12, 2021 Share Posted May 12, 2021 Probably... Browser cache Template cache ProCache Less likely... custom behaviour via hook url segment Try another browser and double check that the site really is unpublished. Link to comment Share on other sites More sharing options...
sww Posted May 12, 2021 Share Posted May 12, 2021 6 minutes ago, wbmnfktr said: Probably... Browser cache Template cache ProCache Less likely... custom behaviour via hook url segment Try another browser and double check that the site really is unpublished. ahh yes, i have one url segment. hmm. how to handle then? Link to comment Share on other sites More sharing options...
wbmnfktr Posted May 12, 2021 Share Posted May 12, 2021 First of all check if the site is still accessible and visible in another browser and afterwards if those existing URL segments are the reason why the page is still visible. You can look into the details within the template and obviously in the template file itself. Link to comment Share on other sites More sharing options...
sww Posted May 12, 2021 Share Posted May 12, 2021 Checked everything and I know how to handle the templates. Just can't figure out how to handle hidden pages that still appear when they are containing a urlsegment. Link to comment Share on other sites More sharing options...
wbmnfktr Posted May 12, 2021 Share Posted May 12, 2021 6 minutes ago, sww said: how to handle hidden pages hidden pages and unpublished pages are different things - just for clarification. unpublished pages shouldn't be accessible to anyone without an active ProcessWire session (admin, editors, ...) while hidden pages are accessible and visible to those with the full URL. Another thing... are we talking about real URL Segments or about parts in /the/path/to/a-page/? Can you outline more details about the setup and where the url segment appears, what it does etc? 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