Title: Reverse Proxy using Admininstration for SSL weird URL error
Last modified: August 22, 2016

---

# Reverse Proxy using Admininstration for SSL weird URL error

 *  [victorp_sg](https://wordpress.org/support/users/victorp_sg/)
 * (@victorp_sg)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/reverse-proxy-using-admininstration-for-ssl-weird-url-error/)
 * I am using a proxy server (www.my-example.com) to a localhost:9080 backend server.
 * My proxy configuration excerpt for both *.80 and *.443 files:
 *     ```
       ProxyPreserveHost On
       ProxyRequests Off
       ProxyPass / http://localhost:9080/firstsite/
       ProxyPassReverse / http://localhost:9080/firstsite/
       ```
   
 * I followed the WP Codex instructions on Administration over SSL. If I put FORCE_SSL_ADMIN
   to false, I can proxy to my backend server without any problems including Login
   and Administration pages. However, with FORCE_SSL_ADMIN is true, those non-SSL
   pages are fine but Login and Administration pages will throw an URL of:
    `https://
   www.my-example.com/firstsite/firstsite/wp-login.php` Notice the double “/firstsite/
   firstsite” in the URL. I even try removing the Administration over SSL and use
   the VerveSSL plugin, and it does the same thing when I turn on SSL. Also, with
   the following, it still doesn’t work: `ProxyPassReverse / http://localhost:9080/
   firstsite/firstsite/`

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [victorp_sg](https://wordpress.org/support/users/victorp_sg/)
 * (@victorp_sg)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/reverse-proxy-using-admininstration-for-ssl-weird-url-error/#post-5282484)
 * Just a note: I also tried entering
 *     ```
       https://www.my-example.com/wp-login.php
       ```
   
 * but the SSL routine with WordPress keeps rewriting it as:
 *     ```
       https://www.my-example.com/firstsite/firstsite/wp-login.php
       ```
   
 *  Thread Starter [victorp_sg](https://wordpress.org/support/users/victorp_sg/)
 * (@victorp_sg)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/reverse-proxy-using-admininstration-for-ssl-weird-url-error/#post-5282541)
 * No one?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Reverse Proxy using Admininstration for SSL weird URL error’ is closed
to new replies.

## Tags

 * [reverse proxy](https://wordpress.org/support/topic-tag/reverse-proxy/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 1 participant
 * Last reply from: [victorp_sg](https://wordpress.org/support/users/victorp_sg/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/reverse-proxy-using-admininstration-for-ssl-weird-url-error/#post-5282541)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
