Support » Networking WordPress » Rewrite a directory to a multisite in its own directory

  • Hi all,

    1. I have an existing non WP site at
    2. I have installed WP 3.5.1 with Multisite in it’s own directory,
    3. I have a WP site setup at
    4. I want to rewrite to without affecting the existing non WP site at

    I trust this makes sense. I have read and re-read “Giving WordPress Its Own Directory” in Codex however this article talks specifically about rewriting your entire domain to your WP dir. I have also searched through numerous articles and posts for this particular scenario but unable to find.

    If anyone has a suggestion or can point me in the right direction I’d appreciate it.

    Many thanks,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Plugin Review Team Rep

    In theory, you can do that. Just treat it like you would for ‘own directory’ and add in your extra folder.

    Thanks for the reply, that’s what I thought originally but couldn’t get things happening.

    As per the Codex, I’ve copied in index.php and .htaccess to making the appropriate edit to the path in index.php.

    In site settings I have updated the following…
    siteurl =
    home =
    Path on the Info tab remains as /wp/site/

    I’ve even updated Permalinks for the fun of it, however, when I go to WP tells me not found and if I use, it redirects me to the main WP site ( and not as expected.

    I’m obviously doing it wrong.

    I’m still working on this if anyone has any further ideas. A couple of updates since the last post…

    I am hosting with Dreamhost and noticed that the default AllowOverwrite was set to None. I’ve since changed it to All and restarted apache.

    I have also noticed no matter what settings I set and apply in the permalinks, WP doesn’t seem to write to the .htaccess file, even though it gives you the impression it has, “Permalink structure updated”. If I check the modified date on .htaccess it hasn’t shifted since the day I installed WP. If I check permissions on .htaccess they are currently 644, same issue if I test with permissions set to 777.

    If I rename the htaccess file and save permalinks WP doesn’t recreate the htaccess file.

    I’m really not sure if the above are normal or significant?

    Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Plugin Review Team Rep

    If you read the whole thing about giving WP it’s own directory, you saw the part about how that needs to happen before you get to Multisite? No one’s documented how to move Multisite to it’s own folder.

    it might actually be easier to just move the /wp/site/ install to /site/ instead.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Rewrite a directory to a multisite in its own directory’ is closed to new replies.