Habe frisch 1.6.3. installiert.
Die Config aufgemacht und entsprechend modifiziert:
Code: Select all
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
$config['use_hierarchy'] = true;
$config['query_var'] = 'page';
Code: Select all
#AddHandler php5-cgi .php
#php_value max_execution_time 60
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
# RewriteCond %{REQUEST_URI} !/$
# RewriteCond %{REQUEST_URI} !\.
RewriteRule ^News/rss(.+)$ index.php?page=News/rss$1 [S=1]
# RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)(.html)?$ index.php?page=$1 [QSA]internal, also pretty urls gehen auch! und ich kann die pages auch noch mit ?page=sitename ansurfen aber sitename.html geht net. Was ist falsch an der htaccess? Ist die selbe die ich immer benutze! Ich peils net!
{metadata} is auch im head!

