WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WordPress MU Domain Mapping] Domain Mapping MS subdirectory installations

[Plugin: WordPress MU Domain Mapping] Domain Mapping MS subdirectory installations

Viewing 15 replies - 1 through 15 (of 30 total)
  • you have to make a server alias between the mapped domain and the folder multisite is installed in.

    T B
    Member

    @bekefitibor

    I don’t know a lot about “server alias” but I have found at hostgator this http://forums.hostgator.com/setting-up-domain-alias-t1339.html they called “domain alias” is that the same things?

    If yes, then
    1. The parked domain newdomain.com has been successfully created.
    2. I made a domain mapping by plugin.
    3. I changed the hostgator nameserver at name.com

    Not work yet, but is it ok?

    T B
    Member

    @bekefitibor

    Something wrong…

    “If you wish to install WordPress in a folder AND have that folder name it will work. Domain mapping, however, will not work.”

    and the server alias not work too

    “Step 2: Setting Wildcard Subdomains
    (If this is a Sub-directories Install, skip this step.)”

    http://codex.wordpress.org/Create_A_Network

    Any other way to do that? Or do I need to install into the public_html directory?

    Plugin Author Ron Rennick
    Participant

    @wpmuguru

    You cannot run a subdomain install in a directory. It has to be in the root of the website.

    If WP is installed in a directory instead of the root, domain mapping will not work because the mapped domain requests are sent to the root of the website rather than where WP is intalled.

    T B
    Member

    @bekefitibor

    I thought.

    Many thanks

    I managed to modify the domain mapping plugin to work in a subdirectory install.
    You can find the patch and some configuration instructions here:
    http://patchlog.com/wordpress/wpmu-domain-mapping-in-subfolder-install/

    T B
    Member

    @bekefitibor

    qool… where do I have to put the code?
    Can I insert anywhere in the domain mapping plugin?

    No, sorry I forgot to mention how to use it. I assume most of my readers know how to use a .diff file.
    I have posted a zip file with the plugin already patched , check out the post again.

    T B
    Member

    @bekefitibor

    What type of network does need, virtual subdomain or subdirectory?

    T B
    Member

    @bekefitibor

    Ok
    The subdirectories not work(for me) then I made a new wp in the subfolder.
    This is a wp with ms Sub-domains – like site1.example.com and site2.example.com but when I want to create the domain mapping database table, then that message come up:

    Warning! This plugin will only work if WordPress is installed in the root directory of your webserver. It is currently installed in ’/a2_bumpkyn/’.

    May be I missed something… Any idea?

    I’m using this with wordpress installed in a subdirectory but the blogs are configured to be subdomains of the main domain.

    If you’re still getting that error you don’t have the modified plugin active.

    Remove the version that you have now, download my zip file and extract it in the plugins directory.

    IF you have a file named domain_mapping.php in wp-content/mu-plugins.php then replace it with the domain_mapping.php file from the modified plugin… just move the file from the plugin directory to wp-content/mu-plugins.

    T B
    Member

    @bekefitibor

    When I installed in the sunfolder, and try create network, then I get this: Because your install is in a directory, the sites in your WordPress network must use sub-directories.

    How do you create subdomain system of the main domain?

    Because your url is domain.com/something/.

    When I created this and installed wordpress was at version 3.0 beta and there was no such message.
    I’ll try to recreate it with a new install from scratch and come back with a possible solution tomorrow… probably another patch for wordpress. I see no reason why this would not work. It works just fine on my sites where wordpress is installed in a subfolder and I’m using subdomains.

    On many shared hosts, wildcard subdomains cannot be configured to work when the install is domain.com/something/. That’s why.

    The message above I believe comes from the domain mapping plugin.

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘[Plugin: WordPress MU Domain Mapping] Domain Mapping MS subdirectory installations’ is closed to new replies.