Permalinks not working after Migration – AllowOverride All, htaccess set

I’m at my wits end, I migrated a website onto a different server and after a lot of setting up I finally have it where it works – kinda. The Permalinks are broken and throw errors that the site can’t be found.

Inside the httpd.conf I set the right (I think) settings:

<Directory /opt/wordpress>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>

The htaccess is there and writeable by WP

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

But I can’t seem to get them to work, all searching left me at this dead end. Any help is greatly appreciated.

The server is running Apache on CentOS, running PHP7 if that matters somehow.

Read more here:: Permalinks not working after Migration – AllowOverride All, htaccess set

Leave a Reply

Your email address will not be published. Required fields are marked *