WordPress Requiring index.php for Permalinks

If you are creating a new WordPress site on a server already running others and you’re not able to access permalinks that are specified without index.php in them, you may have AllowOverride off in /etc/apache2/apache2.conf

You can specifically enable it with a Directory directive to allow overrides (in .htaccess, which is where WordPress will place them.)

# /etc/apache/apache2.conf
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted

# `service apache2 reload` after saving

Leave a Reply

%d bloggers like this: