Post name permalinks File not found
-
I think I’ve tried everything but cannot get Post name permalinks to work.
Environment:
Mac OS X High Sierra
PHP v 7.1.33
Apache v 2.4.33
Wordpress v 5.4.11) 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) betweenBEGIN WordPress
andEND 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 WordPress3) 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???
- The topic ‘Post name permalinks File not found’ is closed to new replies.