• 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/

Viewing 1 replies (of 1 total)
  • Thread Starter coreymcollins

    (@coreymcollins)

    So, I did a little more tinkering. I added to the hosts database:

    127.0.0.1 mydev.com
    127.0.0.1 site1.mydev.com

    I also allowed subdomains in wp-config.php.

    So, I was able to add “site1” as a new site. I can go to site1.mydev.com in my browser and get the site to pop up as it should.

    However, I can’t login. I’ve got one super admin account set up, not an individual admin account for each site. When I go to site1.mydev.com/wp-login, I enter my admin user/pass. The browser acts as if I’ve entered the correct password, asking me if I want to save the password after I hit submit. I get no message about the password being invalid – but I just get bounced back to the login screen. If I try accessing site1.mydev.com/wp-admin, it’s the same story – constant login box but no dashboard.

    I can login to mydev.com no problem and see my site listings, I just can’t access the dashboard of the new site.

    Additionally, I still don’t know where I should be putting my new themes so they are accessible on the network. Right now, only Twenty Ten and Twenty Eleven are available to be network enabled. I added a theme I had previously built to the wp-content/themes folder, but it doesn’t show up in the list at all. Do I actually have to manually add the theme via a ZIP file? Or should it be showing up?

    I’m almost there, so I’m far less discouraged than I was earlier… now it’s just the fine tuning.

    EDIT: Now I can’t login to the dashboard at all, for the main WP install or the new site on the network. Bugh.

Viewing 1 replies (of 1 total)
  • The topic ‘Adding Sites Locally’ is closed to new replies.