Permalinks



On many default WordPress setups, setting up permalinks can be painful. Here are the following commands that I used to get mine setup.

a2enmod rewrite

Change /etc/apache2/sites-available/default:

AllowOverride All

for the www directory

Add .htaccess to root directory and give 666 permissions

service apache2 restart