Path issue in running multiple local installs of WP within htdocs folder
I’m a WP newbie…couldn’t find anything in the forums to address my problem…
I’m building a custom WP theme and have everything up and running locally using MAMP and Sequel Pro. I plan to use WP for building client sites in the future and wanted to allow room for multiple WP installs on my local machine. So I set up my root folder within another folder in htdocs. Like this:
I figured this would allow me the flexibility to install WP as many times as I need for whatever projects come up. I don’t know that that’s the best way to approach it, but it’s how it’s currently set up and all has gone well until now. I built my custom theme as static html & css and am now slicing and inserting the code into WP.
What’s odd is that background images from style.css do load just fine. style.css is of course in the theme folder right alongside header.php and footer.php, so it seems to me the same path should work, but it doesn’t. I’ve tried lots of different configurations with no luck.
I did a test and shifted the files so that my root folder is htdocs itself…ditching the htdocs/sites/learningwordpress structure. When I did that, the problem was solved…everything loaded just fine.
Seems like a problem with my embedded folder structure, but I really can’t figure out why.
Anyone know what’s going on? I’d like to be able to have multiple local WP installs as I’m sure I’ll be working on more than one project at a time in the future.
I hope I’m being clear. Thanks in advance!
- The topic ‘Path issue in running multiple local installs of WP within htdocs folder’ is closed to new replies.