Skip to main content

Category: databases

MAMP vhost and WordPress

I’ve setup MAMP to do some local web development on my MacBookPro, and the XDebug plugin is awesome for stepping through PHP code. However, I had a problem with MAMP and a vhost I setup for local development. The wordpress front page and /wp-admin/ worked but any sub pages, etc. failed to load. When trying to access a WordPress page at url http://site.local/music/ The error in the apache logs was: