I have read the instructions on the Wordpress site, and have read some lengthy posts here but nothing specific to this environment Environment:
- Mac OS X High Sierra
- PHP v 7.1.33
- Apache v 2.4.33
- Wordpress v 5.4.1
1) Uncommented LoadModule rewrite_module libexec/apache2/mod_rewrite.so
in httpd.conf
2) Created a new .htaccess
in my wordpress root directory (permissions 666):
# BEGIN WordPress
# The directives (lines) between BEGIN WordPress and END WordPress are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule>
# END WordPress
3) Changed httpd.conf
<Directory />
AllowOverride All
Require all Granted
</Directory>
I have restarted the apache. Shut down and restarted the Mac. Still get a 404 when I set permalinks to Post name.
What am I missing???