Jump to content

Recommended Posts

Posted

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.

Posted

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.

  • 9 years later...
Posted

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.

Posted

Probably...

  1. Browser cache
  2. Template cache
  3. ProCache

Less likely...

  • custom behaviour via
    • hook
    • url segment

Try another browser and double check that the site really is unpublished.

Posted
6 minutes ago, wbmnfktr said:

Probably...

  1. Browser cache
  2. Template cache
  3. 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?

Posted

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.

Posted

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.

Posted
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?

  • Like 1

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
  • Recently Browsing   0 members

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