Domain mapping – with custom subdir

Hi, domain mapping works great, but I want to add a directory to the end of the path. Example:

Main wordpress install on:

Networked blog on:

Domain mapped to:

And now we want to have a custom subdir: with some files that will lead to some separate html files.

First I thought that it was as easy as adding a dir/files to the blogs.dir/2/ directory but it appears it isn’t. Any ideas/suggestions?

  • aecnu
    • WP Unicorn

    Greetings jorgjansen,

    Thank you for this great question and a significant item to bring up.

    If you want to create a custom sub directory why not create the directory normally and just address it normally? i.e. with your files in it

    Maybe a redirect will be needed to get the job done depending on how you address the custom sub directory.

    Please advise.

    Cheers, Joe

  • jorgjansen
    • WPMU DEV Initiate

    I’m not sure if I understand what you mean. I mean, there is no physical space located to, it is just redirecting visitors to, where the domain mapping plugin will tell to go to So there isn’t actually a directory for that.

    The only directory I could think of that could hold files for that directory is the blogs.dir directory.

  • aecnu
    • WP Unicorn

    Greetings jorgjansen,

    Thank you for the additional input, it is certainly appreciated.

    I am referring to the regular method of creating a sub directory like a normal web site installation and creating a redirect to catch the domain specific url.

    For example, physically create the sub directory/folder

    Then use an htaccess or hosting control panel to enforce the redirect, htaccess would look something like:

    Redirect 301 /shop

    Please advise.

    Cheers, Joe

  • PC
    • WPMU DEV Initiate


    Greetings and thanks for being a great community member.

    We haven’t heard from you on this one for long and I am doing a regular followup to see if there is still something we can assist you on this thread.

    Just to manage the support issues more efficiently, I am marking this thread as resolved for now however this is not being done to avoid your questions in any ways.

    Please feel free to mark this is “Not resolved” in case you have further questions and we would be back on it.

    Thanks a lot for being with WPMU DEV.



    Sales &Support

    Did you know we offer FREE lifetime memberships? Click here to learn more.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.