allow previews outside wordpress folder (Outsourcing WP previews)

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