How to get the original domain
-
WP: 3.6.1, WordPressMU: 0.5.4.3
I’ve used WordPressMU domain mapping for a 1.5 years and am happy with it. I’ve been given a new site customization requirement that requires me to capture the domain that was used to access a site (before being mapped and redirected to the primary domain). I will use the original domain to perform logic in the child theme functions.php file.
How can I capture and store the original domain so I can use it later in the child theme part of the page construction? I’ve tried globals, session variables, but they are always over-written with the primary domain after the redirect.
Thanks, Ed
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to get the original domain’ is closed to new replies.