# To use search engine friendly URLs check that mod_rewrite is enabled, and then copy # this file to .htaccess # Activate rewriting RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f # RewriteBase / # Page RewriteRule ^(.*) index.php?page/$1 # Blog RewriteRule ^blog/([0-9]+) index.php?gadget=Blog&action=SingleView&id=$1 RewriteRule ^blog/archive/ index.php?gadget=Blog&action=Archive RewriteRule ^blog/ index.php?gadget=Blog # Phoo RewriteRule ^photos/album/([0-9]+) index.php?photos/album/$1 RewriteRule photos/([0-9]+)/([0-9]+) index.php?gadget=Phoo&action=ViewImage&id=$2&albumid=$1 RewriteRule photos/([0-9]+)/ index.php?gadget=Phoo&action=ViewAlbum&id=$1 RewriteRule photos/ index.php?gadget=Phoo # Encoding issues AddType 'text/html; charset=UTF-8' html AddType 'text/xml; charset=UTF-8' atom rss xml