• When setting up WordPress to be used as the “origin” (origin.com) through Reverse Proxy, one of the steps is to change both the WP_SITEURL and WP_HOME to the remote Reverse Proxy URL (remote.com/origin).

    The problems I’m facing here are:

    1- All the assets (/wp-content, /wp-includes etc..) are returning 404 errors since they try to load from “remote.com/origin” but physically live in “origin.com”

    2- Cannot access the WP Admin Dashboard from remote.com/origin/wp-admin

    3- Ajax is not working since wp-admin/admin-ajax.php

    Is there any setting I am missing on the Worpdress/Apache side or on the Proxy Server to make the assets work via “remote.com/origin” ?

    Thanks

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Without the proxy, I’d expect everything to work, so there is nothing wrong with WP or Apache, the issue is in the proxy configuration. It’s not forwarding sub-folder requests to the origin server. Proxy configuration support is outside the scope of these forums. I’ll leave this topic open anyway in the off chance someone has a suggestion, but you’re better off in a forum dedicated to setting up proxies.

Viewing 1 replies (of 1 total)
  • The topic ‘Serving assets through Reverse Proxy URL’ is closed to new replies.