Created
June 29, 2016 08:47
-
-
Save matdombrock/313c1ce8d33fd9e8a2d4eb32ef08f5ad to your computer and use it in GitHub Desktop.
Fix broken permalinks on wordpress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Directory /var/www/> | |
| Options Indexes FollowSymLinks | |
| AllowOverride All | |
| Require all granted | |
| </Directory> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Add the above text to /etc/apache2/apache2.conf | |
| Changing the AllowOverride None to AllowOverride All. | |
| Through SSH run 'a2enmod rewrite' | |
| Then to restart Apache run 'service apache2 restart' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment