Skip to main content
Image alt

category: Reverse proxy

HOW TO: Set a variable HOME and SITEURL based on the requested domain

Serve the domain part of a URI based on the domain the client loads your Wordpress site on (ideal for reverse proxies or staging sites).