WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
How can I completely hide the original domain with domain mapp (3 posts)

  1. Christian Rank
    Member
    Posted 2 years ago #

    Hi,

    I created a subdirectory-based WP MU network of the form
    http://originaldomain/site1
    http://originaldomain/site2
    and used the domain mapping plugin to map
    http://officialdomain/
    to
    http://originaldomain/site1

    This does work perfectly, but when I inspect the HTML source code of the page
    http://officialdomain/
    I notice there are some references to URLs from the orginal domain, e. g.

    <link rel='stylesheet' id='ai1ec-general-css'  href='http://originaldomain/site1/wp-content/plugins/all-in-one-event-calendar/css/general.css?ver=1.5' type='text/css' media='all' />
    <link rel='stylesheet' id='ai1ec-event-css'  href='http://originaldomain/site1/wp-content/plugins/all-in-one-event-calendar/css/event.css?ver=1.5' type='text/css' media='all' />
    <link rel='stylesheet' id='NextGEN-css'  href='http://originaldomain/site1/wp-content/plugins/nextgen-gallery/css/nggallery.css?ver=1.0.0' type='text/css' media='screen' />
    <link rel='stylesheet' id='shutter-css'  href='http://originaldomain/site1/wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.css?ver=1.3.4' type='text/css' media='screen' />
    <script type='text/javascript' src='http://originaldomain/site1/wp-content/plugins/all-in-one-event-calendar/js/event.js?ver=1.5'></script>
    <script type='text/javascript' src='http://originaldomain/site1/wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.js?ver=1.3.3'></script>
    <script type='text/javascript' src='http://originaldomain/site1/wp-content/plugins/nextgen-gallery/js/jquery.cycle.all.min.js?ver=2.9995'></script>
    <script type='text/javascript' src='http://originaldomain/site1/wp-content/plugins/nextgen-gallery/js/ngg.slideshow.min.js?ver=1.06'></script>
    <img src="http://originaldomain/site1/files/2012/04/header.jpg" width="940" height="198" alt="My Website" />

    I do not want the original domain to be exposed, so I would like to know if it is possible to hide the original domain completely, such that the references in the example above would read

    <link rel='stylesheet' id='ai1ec-general-css'  href='http://officialdomain/wp-content/plugins/all-in-one-event-calendar/css/general.css?ver=1.5' type='text/css' media='all' />
    <link rel='stylesheet' id='ai1ec-event-css'  href='http://officialdomain/wp-content/plugins/all-in-one-event-calendar/css/event.css?ver=1.5' type='text/css' media='all' />
    <link rel='stylesheet' id='NextGEN-css'  href='http://officialdomain/wp-content/plugins/nextgen-gallery/css/nggallery.css?ver=1.0.0' type='text/css' media='screen' />
    <link rel='stylesheet' id='shutter-css'  href='http://officialdomain/wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.css?ver=1.3.4' type='text/css' media='screen' />
    <script type='text/javascript' src='http://officialdomain/wp-content/plugins/all-in-one-event-calendar/js/event.js?ver=1.5'></script>
    <script type='text/javascript' src='http://officialdomain/wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.js?ver=1.3.3'></script>
    <script type='text/javascript' src='http://officialdomain/wp-content/plugins/nextgen-gallery/js/jquery.cycle.all.min.js?ver=2.9995'></script>
    <script type='text/javascript' src='http://officialdomain/wp-content/plugins/nextgen-gallery/js/ngg.slideshow.min.js?ver=1.06'></script>
    <img src="http://officialdomain/files/2012/04/header.jpg" width="940" height="198" alt="My Website" />

    Thanks in advance,
    Christian

  2. Jeremiah Snapp
    Member
    Posted 2 years ago #

    I had the same problem. I fixed it by going to the Network Admin Plugins page and clicking "Network Activate" for the "WordPress MU Domain Mapping" plugin.

  3. Christian Rank
    Member
    Posted 2 years ago #

    I had already network activated the Domain Mapping plugin when the situation described in my initial posting occured.
    I think the Domain Mapping does not perform the mapping for plugins and themes.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic