Apache Webserver

Permalinks in WordPress / CMS

enable mod_rewrite in apache2.2 (debian/ubuntu)

on current debian system you can enable mod_rewrite with simple command

a2enmod rewrite

Rewriting in Virtual Hosts

By default, mod_rewrite configuration settings from the main server context are not inherited by virtual hosts. To make the main server settings apply to virtual hosts, you must place the following directives in each <VirtualHost> section:

RewriteEngine On
RewriteOptions Inherit

Redirect van URL

URL redirect