WordPress.org

Support

Support » Localhost Installs » Install of multisite with MAMP

Install of multisite with MAMP

  • How do I install a multisite inside a folder inside htdocs?

    I followed this tutorial:
    http://perishablepress.com/wordpress-multisite-mamp/
    But the tutorial is based on having all the files in the root of htdocs.

    I am not getting the htaccess file to point correctly to my multisitetest folder.

    From the tutorial:
    “Lastly, create a blank file named .htaccess in your /htdocs/ directory and add the following code:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    ——–

    What do I need to correct for it to work inside the folder multisitetest?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you make the file?

    What makes you think it’s not working? (Remember, we can’t see your site)

    Hi Mika

    With the above htaccess file:

    I enter the backend.
    Hover over: My Sites -> Network Admin -> Dashboard goes to this link: localhost/wp-admin/network

    Network admin areas look to: localhost/wp-admin and Visit Network link leads to the root of htdocs.
    Since the root only contains various folders to various local sites I get an error.

    I do not know how to add in the folder structure into the htaccess file. I have also e-mailed the author of the article, and hope to get an answer there as well.

    Many Blessings.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Install of multisite with MAMP’ is closed to new replies.