Search code examples
wordpressmod-rewritemamppermalinks

Getting WordPress permalinks working on a MAMP install


I've got a local MAMP install of WordPress and am trying to get permalinks working. But when I click my links after setting permalink setting to 'Day and name' http://localhost/wordpress_1/2011/01/12/sample-post/

I get 404ed

Not Found: The requested URL /wordpress_1/2011/01/05/hello-world/ was not found on this server.

Is this a mod_rewrite issue? mod_rewrite is listed in the 'loaded modules' section of my phpinfo. Do I need to do something else to enable it?

Thanks

UPDATE:

From my httpd.conf:

<Directory />
    Options Indexes FollowSymLinks
    AllowOverride None
</Directory>

Solution

  • Changed my httpd.conf from

    <Directory />
        Options Indexes FollowSymLinks
        AllowOverride None
    </Directory>
    

    To

    <Directory />
        Options Indexes FollowSymLinks
        AllowOverride All
    </Directory>
    

    And it works.