Don’t tell me, you’ve just installed Wordpress on your local MAMP setup and it’s all gone wrong – you can no longer get to phpmyadmin and the MAMP setup page generally.

Check the root of your Mac hard disk – there should be a .htaccess file lurking there, with contents that include…

Options All -Indexes

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
... (and so on...)

Delete this file, or rename it if you’re not happy about doing that. Go to your MAMP start page and everything should be OK again. Time for a celebratory cup of tea.

Update 16th Feb: Ben Frain notes that you might not see the .htaccess in your root folder because it’s a hidden file – his blog post details the Terminal command you need to show all files.