<![CDATA[ Using context : new context redirect to default context - MODX Community Forums]]> https://forums.modx.com/thread/?thread=103279 <![CDATA[Using context : new context redirect to default context]]> https://forums.modx.com/thread/103279/using-context-new-context-redirect-to-default-context#dis-post-555791
I've created a new context with a basic ressource (2349) using a basic template.

When I click to preview, I'm redirected to the home page of the site, wich is in the default context.

I've made some settings in the new context :

error_page = 2349
site_start = 2349

I've been following this doc : https://docs.modx.com/revolution/2.x/administering-your-site/contexts

I use pretty URL a the root of my website.

And I can't access this resource.
What am I missing ?]]>
squarou Dec 08, 2017, 03:31 PM https://forums.modx.com/thread/103279/using-context-new-context-redirect-to-default-context#dis-post-555791
<![CDATA[Re: Using context : new context redirect to default context]]> https://forums.modx.com/thread/103279/using-context-new-context-redirect-to-default-context#dis-post-555794
When you preview a document from the Manager, your status is unusual. You are not logged in in the front end, though you will have 'view_unpublished' permission. IIRC, the rest of the permissions are those of the (anonymous) user. Permission-wise, you won't see the front end as a real visitor would.]]>
BobRay Dec 09, 2017, 05:57 AM https://forums.modx.com/thread/103279/using-context-new-context-redirect-to-default-context#dis-post-555794
<![CDATA[Re: Using context : new context redirect to default context]]> https://forums.modx.com/thread/103279/using-context-new-context-redirect-to-default-context#dis-post-555792 Bruno17 Dec 08, 2017, 07:41 PM https://forums.modx.com/thread/103279/using-context-new-context-redirect-to-default-context#dis-post-555792