URL is incorrect when trying to post media/image/audio/video
|Reported by:||AllyUnion||Owned by:|
Server 1 is running http://www.example.com
Server 2 is running blog.example.com (Word Press site)
Server 1 is on our corporate infrastructure
Server 2 is within the Amazon EC2 cloud.
We generated ProxyPass rules using Apache to implement:
In our Word Press site configuration under Settings > General
Any time we try to use Post > Add New Post then click on:
Add an Image / Add Video / Add Audio / Add Media
The sub-popup window links at the top for:
Are not linked properly. The links we have for them are something like:
Which is not correct. It should be:
If the siteurl is defined, then add_query_arg should rely on get_option('siteurl') to get the proper URL.
I believe this is the fix but I am not familiar with the Word Press code enough to say this is the proper fix: