MAMP Multisite Problem
-
Hoping someone might be able to help me with a slight workflow problem I am experiencing with multiple WP sites in MAMP.
I’m a bit of a newbie with WP and MAMP, so please be gentle!
I downloaded and installed MAMP.
In ht/docs I created a folder named “WP” and into that I placed a freshly unzipped WordPress. I then pointed MAMPs Apache at that folder
(MAMP/htdocs/WP).Next I created a database called ‘wordpress’ in PhpMyAdmin.
Then I modified the wp-config-sample file and when I pointed my browser
to localhost I was able to complete the setup and restore one of my
live websites into that local instance. Superb!So, building on the instructions provided by other forum posts and
advice floating aroung the internet, here is what I did next…I created another folder in htdocs called “WP2” and into that I placed
another unzipped WP. I then went into PhpMyAdmin and created another
database, I called this one wordpress2. Naturally when I opened the
browser at ‘localhost’ I could not see my new WP so I changed the MAMP
config to point to MAMP/htdocs/WP2 and there it was. I completed the
configuration and went on to set up a new site in WP2. So far so good.Now it all starts to get messy!
I wanted to work with the “WP” site; the first one. So I changed the
Apache config to point to the WP folder and now the site looks all messed up! I can see the homepage (but its like all the CSS is missing) and any and all links result in a 500 server error. Yuk!So I change the Apache config to htdocs/WP and its okay again – but now
the same thing happens when I visit WP2.I guess what I’m really asking is: Is this normal? How can I set up MAMP and the folder/db structures so that I can just open localhost and click on the folder ( WP or WP2 ) that i want to work with? Is that even possible?
Clearly the problem is with the URL structure getting messed up. Is this do-able? Do I need MAMP Pro? If so, how would that help?
Thanks,
Stuart
- The topic ‘MAMP Multisite Problem’ is closed to new replies.