• BruceAustin67 @BruceAustin67 ·

    This WordPress snippet is a lightweight plugin designed to correct URL generation issues when the site is running behind a proxy. It modifies server variables during the init hook, specifically overriding $_SERVER['HTTP_HOST'] and prepending /ctl to $_SERVER['REQUEST_URI'] in the admin area, ensuring functions like add_query_arg() produce accurate links despite altered request paths or host headers introduced by the proxy setup.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment