Support » How-To and Troubleshooting » Modify relative links in backend

Modify relative links in backend

  • Hi,

    We are using a proxy to access our wordpress installation at
    http://MY_DOMAIN/wordpress using https://PROXY_DOMAIN/MY_DOMAIN/wordpress

    WordPress address (URL) in General Settings is configured:

    Some of the links in the backend are relative
    and result in wrong GET requests linke https://PROXY_DOMAIN/wordpress/wp-admin/media-upload.php when accessing over the proxy.

    Is there a central wordpress-function that allows me to modifiy the generated links so that I can turn a href="wordpress/wp-admin/media-upload.php" into href="MY_DOMAIN/wordpress/wp-admin/media-upload.php" in order to get correct links when accessing the wordpress backend over the proxy? (which is planned to be the only way to access)

Viewing 1 replies (of 1 total)
  • Seems like I found a workaround. Adding
    to the wp-config.php file modifies the incomplete relative links in the backend.

Viewing 1 replies (of 1 total)
  • The topic ‘Modify relative links in backend’ is closed to new replies.