I am running a backup of my website on Ubuntu 12.10 (apache+mysql). I can see properly admin and home page, but permalinks are not working (so urls like this are failing: localhost/page/.../).
What I did till now is:
1) Created file .htaccess via settings->permalinks with the content:
# 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>
# END WordPress
2) Added rewrite apache module with:
sudo a2enmod rewrite
3) Changed in the file sites-enabled/000-default the row:
AllowOverride None
to:
AllowOverride All
4) Finally restarted apache with:
sudo service apache2 restart
Anyway I am still getting "not found" when I visit a permalink.
How can I make the permalinks work?