Title: Reverse proxy
Last modified: August 19, 2016

---

# Reverse proxy

 *  [Bernie Reiter](https://wordpress.org/support/users/bernhard-reiter/)
 * (@bernhard-reiter)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/reverse-proxy/)
 * Up to recent, I had my blog at my university webspace, ie at a URL like
 * [http://myuni.ac.at/mydir/blog/](http://myuni.ac.at/mydir/blog/)
 * Shortly, I’ve had a domain like
 * [http://mydomain.at/](http://mydomain.at/)
 * set up to redirect to
 * [http://myuni.ac.at/mydir/](http://myuni.ac.at/mydir/)
 * via a reverse proxy; that means, I can now reach my blog via
 * [http://mydomain.at/blog/](http://mydomain.at/blog/)
 * In order to completely hide the “ugly” [http://myuni.ac.at/mydir/blog/](http://myuni.ac.at/mydir/blog/)
   URLs also from subsequent links from the blog start page, I’ve adapted the permalinks,
   and tried to also set the `siteurl` and `home` wp-options to [http://mydomain.at/blog/](http://mydomain.at/blog/).
 * Unfortunately, when then trying to access [http://mydomain.at/blog/](http://mydomain.at/blog/),
   I’m redirected to [http://mydomain.at/mydir/blog/](http://mydomain.at/mydir/blog/)(
   with mydir as of [http://myuni.ac.at/mydir/](http://myuni.ac.at/mydir/) ) which
   of course doesn’t exist. (I’ve also tried to leave `siteurl` set to [http://myuni.ac.at/mydir/blog/](http://myuni.ac.at/mydir/blog/)
   and only change `home`, but to no avail).
 * It’s apparently wp-login.php that causes the redirection. I don’t have much of
   a clue about the WordPress code, but I figure it might have something to do with
   the redirect_to server variable. Can this be cured in a way that enables me to
   transparently use WordPress with a reverse proxy that caches a directory on a
   different server?
 * Any help appreciated.
    -BR

The topic ‘Reverse proxy’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Bernie Reiter](https://wordpress.org/support/users/bernhard-reiter/)
 * Last activity: [17 years, 11 months ago](https://wordpress.org/support/topic/reverse-proxy/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
