Support » Fixing WordPress » Post Preview not working behind Proxy

  • Hi all,

    I´ve got a Problem with the post/page preview in WordPress.

    The Serve-Configuration is as follow:

    The WordPress address is set to (IP:,
    and the site URL is set to (IP:

    Both IPs directs to the same server, for each IP there is an own Apache-Instance running.

    If a Client requests the site, this “server” requests the wordpress site from, transforms the output and finally send the transformed output to the requesting client:

    +--------+      +------------------+       +------------------+
    |        | ---> | | --->  | |
    | CLIENT |      |                  |       |                  |
    |        | <--- | IP    | <---  | IP:   |
    +--------+      +------------------+       +------------------+
                      Transforms the                WordPress
                      WordPress output

    This works as it should, but now comes my problem:

    The WordPress admin area is accessible via
    When I edit a post or a page and click on PREVIEW, I get redirected, for example, to
    And this redirect fails: “You do not have the necessary rights to see the preview”.

    (If I call it works pretty fine, but i need to call …)

    First i thought that this is a Problem with the WordPress authentication cookie, so i installed the Root Cookie Plugin. The cookie, wich is set for contains :

    • name: wordpress_logged_in_919292837291837382927,
      value: admin%8289328%9324789347843789,
      path: /
    • name: wordpress_919292837291837382927,
      value: admin%82893289324%789347843789,
      path: /

    But this didn´t solve my Problem, I still get the same error.

    Some other attempts i´ve tried:

    • Setup as Proxy Server:
      define('WP_PROXY_HOST', '');
      define('WP_PROXY_PORT', '80');
      define('WP_PROXY_USERNAME', '');
      define('WP_PROXY_PASSWORD', '');
      define('WP_PROXY_BYPASS_HOSTS', 'localhost');

    But this also did not work.

    I hope you understand my problem and maybe someone has an idea how to solve this?

    Thanks in advanced and sorry for my bad english (this is not my native language 🙂 )

    (I also posted this question at and

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post Preview not working behind Proxy’ is closed to new replies.