Adding Sites Locally
-
Working on a Mac OS X Lion with WP 3.3.1.
It took me a while, but I was finally able to setup MAMP and configure everything to allow for multisite. I followed some other instructions to add my own domain instead of using localhost, but it doesn’t seem to be working. I’d really love to be able to use something like wp.dev/site rather than localhost. I can live with that, though, I guess. It doesn’t really matter.
What’s bugging me, though, is when I go to the network admin and try to add a new site. I add the site address (“newsite”, for example), add the title and an email address. I click “Add Site” and it tells me the site was created successfully – but then I get a 404 error when I try to access the site or its dashboard. There isn’t a new directory anywhere in my WP folders.
I added the blogs.dir folder within WP-Content as instructed in the setup for multisite. I honestly do not think I had an .htaccess file at all in my WP folder, so I created one with the information the setup told me to place in it. I revealed all hidden files and saw some hidden files displayed in my folders, but I didn’t see an .htaccess file anywhere. Maybe that’s the issue?
Either way, adding a new site does nothing. Also, if I add a theme to the “themes” directory in WP-Content, it doesn’t show up in the network theme manager.
I was hoping this would be the easy solution I needed to finally be able to develop separate sites locally rather than just switching between themes – but it’s become more of a headache than anything else.
For reference, this is the site that my instructions came from – though the real help came from the commenter who noted the method to stop the Apache server.
https://donalyza.com/2010/08/installation-of-wordpress-multisite-on-mamp-localhost/
- The topic ‘Adding Sites Locally’ is closed to new replies.