I want to have my permalink structure to %postname% but doing so makes every page go to a 404 page where the requested URL cannot be found on the server.
I'm using a mac and run my own development server using mac's php and apache. I followed this guide to get the server up: <http://www.coolestguidesontheplanet.com/downtown/get-apache-mysql-php-and-phpmyadmin-working-osx-109-mavericks>

These are the steps I took and none of them worked:

1. Edited my htaccess

`Options +FollowSymlinks`  

`RewriteEngine on`

```
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /~wayne/plugin-dev/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /~wayne/plugin-dev/index.php [L]
</IfModule>

# END WordPress

```

1. Made sure rewrite engine is on for /etc/apache2/httpd.conf by uncommenting
`LoadModule rewrite_module libexec/apache2/mod_rewrite.so`
2. Also made sure `AllowOverride` was set to all.

The only way it will work somewhat is if I use a custom permalink structure and put `index.php/%postname%/` but then all my pages will have a index.php in front of it and I don't want that.