I want to have a format url
url: http://www.domain.com/page
url: http://www.domain.com/category/article
With this setting, the pages are displayed corect, BUT:
1. Do not load the images
2. I can not log in to the administration: / login.php - shows the home page
My settings conf:
Code: Select all
$phpwcms['rewrite_url'] = 1;
$phpwcms['rewrite_ext'] = '';
$phpwcms['alias_allow_slash'] = 1;
Code: Select all
# Installed in Document Root www.example.com/
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)$ /index.php?id=$1,$2,$3,$4,$5,$6&%{QUERY_STRING}
RewriteRule ^(.+)$ /index.php?$1&%{QUERY_STRING}
# Installed in Subfolder www.example.com/subfolder/
# RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)$ /subfolder/index.php?id=$1,$2,$3,$4,$5,$6&%{QUERY_STRING}
# RewriteRule ^(.+)$ /subfolder/index.php?$1&%{QUERY_STRING}
thanks
honza