I am outsourcing the wordpress and I already figured out the external view. I even know how to make a WP query for previews, but when I want to do that I simply cant - wp-load stops all operations and I get something like "You do not have permission to preview drafts" - any idea what might cause that? (Its the same hosting, and I am correctly logged in.) - so my guess is that wordpress checks for some part of REQUEST_URI ?

How to fix this ?

1 Answer 1


The cause of this problem is the wordpress checking for his cookies - and cookies are different for each folder. So the way of fixing can be temporarily save WP cookies too session and then hardcode them after redirect before the WP load.

Solved thanks to https://stackoverflow.com/questions/21542795/wordpress-allow-previews-outside-wordpress-folder

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.