<![CDATA[ Can't preview unpublished pages - My Forums]]> https://forums.modx.com/thread/?thread=98711 <![CDATA[Can't preview unpublished pages]]> https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages?page=2#dis-post-533784
While logged in to the manager I can't preview unpublished pages despite having super admin rights. Instead, I get redirected to the 404 page.

These pages are made of plain HTML, no Login snippets or any other kind are called.

The System Error Log doesn't report anything at all either.

I wonder if this is the new default behavior of the latter ModX versions.
]]>
oriolsabate Oct 28, 2015, 01:38 PM https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages?page=2#dis-post-533784
<![CDATA[Re: Can't preview unpublished pages]]> https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages?page=2#dis-post-555529 ]]> BobRay Nov 29, 2017, 07:06 PM https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages?page=2#dis-post-555529 <![CDATA[Re: Can't preview unpublished pages]]> https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages#dis-post-555526 Quote from: oriolsabate at Oct 30, 2015, 12:46 PM
Found the issue.

My environment is set to accept multiple domains and the server had domain A set as default whereas ModX had domain B as default. As a result, whenever I tried to preview an unpublished page, ModX didn't recognize me as an authenticated user and thus redirect me to the 404 page.

Hi,

I have also same problem.
I logged in to the manage by https://www.myxsite.com/manager/
I tried to preview an unpublished page by https://myxsite.com/page/, ModX redirect me to the 404 page.
Problem solved when I logged in to the manage by https://myxsite.com/manager/ (without www).

Thanks =)
]]>
novikey Nov 29, 2017, 06:25 PM https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages#dis-post-555526
<![CDATA[Re: Can't preview unpublished pages]]> https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages#dis-post-548806 BobRay Feb 16, 2017, 10:03 PM https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages#dis-post-548806 <![CDATA[Re: Can't preview unpublished pages]]> https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages#dis-post-548740
Problem solved. I'm not sure why though smiley
I was logged in also as a frontend user (Login snippet). After logging out frontend, preview works.]]>
wintertribe Feb 14, 2017, 10:15 AM https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages#dis-post-548740
<![CDATA[Re: Can't preview unpublished pages]]> https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages#dis-post-548683

The only cause I can think of is that the user you are logged on as doesn't have view_unpublished permission in the Policy attached to the Context Access ACL entry that gives them rights to the 'web' context.

I hope that makes sense.

]]>
BobRay Feb 10, 2017, 09:44 PM https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages#dis-post-548683
<![CDATA[Re: Can't preview unpublished pages]]> https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages#dis-post-548666
I have also same problem. I have multible contexts. I can preview all other contexts except web-context?

@Bob-Ray. What you mean by this?
Do you other front-end contexts in addition to the 'web' context?
]]>
wintertribe Feb 10, 2017, 07:00 AM https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages#dis-post-548666
<![CDATA[Re: Can't preview unpublished pages (Best Answer)]]> https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages#dis-post-533878
My environment is set to accept multiple domains and the server had domain A set as default whereas ModX had domain B as default. As a result, whenever I tried to preview an unpublished page, ModX didn't recognize me as an authenticated user and thus redirect me to the 404 page.]]>
oriolsabate Oct 30, 2015, 12:46 PM https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages#dis-post-533878
<![CDATA[Re: Can't preview unpublished pages]]> https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages#dis-post-533803
Although some other type of users have restricted access to some resources groups?

Thanks Scott & Bob for looking into this.]]>
oriolsabate Oct 28, 2015, 05:50 PM https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages#dis-post-533803
<![CDATA[Re: Can't preview unpublished pages]]> https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages#dis-post-533801 BobRay Oct 28, 2015, 05:39 PM https://forums.modx.com/thread/98711/can-t-preview-unpublished-pages#dis-post-533801