Install of multisite with MAMP
-
How do I install a multisite inside a folder inside htdocs?
I followed this tutorial:
https://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.
- The topic ‘Install of multisite with MAMP’ is closed to new replies.