proxy not working for admin edit.php links
-
Thank you in advance – here is an example of my issue:
I have a subdomain media.abc.com. I set up a proxy server so that the user will see the site as abc.com/media
in wp-config I set up/** Site URL */ define( 'WP_HOME', 'https://www.abc.com/media' ); define( 'WP_SITEURL', 'https://www.abc.com/media' ); $_SERVER['REQUEST_URI'] = str_replace("/wp-admin/", "/media/wp-admin/", $_SERVER['REQUEST_URI']);
The only link that doesn’t work properly is the link in admin to next pages and next posts on the bottom of those pages. Those links start at: https://media.abc.com/media/wp-admin/edit.php?… INSTEAD OF https://www.abc.com/media. It is not affected by site url setting changes which we set up. Then this link refreshes to https://media.abc.com/media/wp-admin/edit.php?… and then the page is not found.
What do you recommend?- This topic was modified 3 years, 3 months ago by . Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
The page I need help with: [log in to see the link]
- The topic ‘proxy not working for admin edit.php links’ is closed to new replies.