• 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

    http://wordpress.org/plugins/wordpress-mu-domain-mapping/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    You’ll have to write a plugin to store the URL before the redirect and retrieve it after the redirect.

    Hi
    Can i need to install WPMS on two different server. One for main site and next one for sub-site (example.com and another for site.example.com). Is this plugin help me to done this

    Plugin Author Ron Rennick

    (@wpmuguru)

    Is this plugin help me to done this

    No. You don’t need any plugins to do what you are describing. WP can be installed in a subdomain.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to get the original domain’ is closed to new replies.