I want to run wordpress behind a reverse proxy. Setup will be:
--> accesses localhost:12345 (wordpress).
WordPress automatically redirects to localhost:12345 after the initial setup, this is easily fixed by editing the url/hostname in the mysql database. However, now it will do redirects to itself in an endless loop. I understand why this happens (wordpress will see the localhost:12345 in the http get request and say "hey thats not my canonical hostname"); is there an easy way to stop this? I just want wordpress to hand out pages, and let me worry about hitting the right hostname, I know what I am doing. ;-)
Any help appreciated.