Permalinks not working Apache + CentOS 7

For the next person, be sure to set AllowOverride All in the correct directory. In Damon’s case he set AllowOverride All in the /var/www/html directory, but his site is located in /var/www/example.com/public_html. I could be wrong, but the AllowOverride setting is specific to the directory. Damon should add the AllowOverride All setting to the /etc/httpd/sites-available/example.com.conf and /etc/httpd/sites-available/example.com-le-ssl.conf files. Without this setting the .htaccess file wordpress uses will work.

error code: 523