Sorry to bump this old thread, but I've been using multiple site mode for some weeks now and have encountered some minor problems. And unfortunately once more I'm unable to solve them on my own.
The more important problem is a redirection issue:
For my first weblog redirecting from
http://www.example.org and
http://www.example.org/index.php to example.org works.
For my second weblog however it doesn't:
http://www.example1.org doesn't redirect at all, and
http://www.example1.org/index.php actually redirects to example.org (i. e. my first weblog).
Now this can probably be solved by getting my .htaccess file right. I've tried some things but most of the time this simply led to error messages on all of the sites, so I stopped soon.
Are there some standard lines I can insert, so that the redirection works on all of the url's?
This is my .htaccess file, maybe it'll help:
- Code: Select all
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.der-privatanleger.de
RewriteRule (.*) http://der-privatanleger.de/$1 [R=301,L]
RewriteRule ^archives/archive_(.*)\.php /index.php?a=$1 [R=301,L]
RewriteCond %{QUERY_STRING} id=([1-9][0-9]*)
RewriteRule ^pivot/entry.php /index.php?e=%1 [R=301,L]
RewriteCond %{QUERY_STRING} c=([^&]*)
RewriteRule ^pivot/archive.php /?c=%1 [R=301,L]
RewriteCond %{QUERY_STRING} tag=([^&]*)
RewriteRule ^pivot/tags.php /index.php?t=%1 [R=301,L]
RewriteRule ^rss\.xml$ /rss [R=301,L]
RewriteRule ^atom\.xml$ /atom [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://der-privatanleger.de/ [R=301,L]
# Standard PivotX rules for non-crufty URLs. Must be enabled in the PivotX
# configuration too before taking affect. Look at the bottom of this file
# for a localized version.
RewriteRule ^archive/(.*)$ pivotx/render.php?uri=$1&rewrite=archive [L,QSA]
RewriteRule ^([0-9]{4})[/-](.*)$ pivotx/render.php?uri=$1/$2&rewrite=archive [L,QSA]
RewriteRule ^entry/(.*)$ pivotx/render.php?e=$1&rewrite=entry [L,QSA]
RewriteRule ^page/(.*)$ pivotx/render.php?uri=$1&rewrite=page [L,QSA]
RewriteRule ^tag/(.*)$ pivotx/render.php?t=$1&rewrite=tag [L,QSA]
RewriteRule ^tags/?$ pivotx/render.php?x=tagpage [L,QSA]
RewriteRule ^search/(.*)$ pivotx/render.php?q=$1&rewrite=search [L,QSA]
RewriteRule ^search$ pivotx/render.php?rewrite=search [L,QSA]
RewriteRule ^visitor/?([^/]*)/?$ pivotx/render.php?x=visitorpage&w=$1 [L,QSA]
RewriteRule ^category/(.*)$ pivotx/render.php?c=$1&rewrite=category [L,QSA]
RewriteRule ^author/(.*)$ pivotx/render.php?u=$1&rewrite=author [L,QSA]
RewriteRule ^browse/(.*)$ pivotx/render.php?o=$1&rewrite=offset [L,QSA]
RewriteRule ^rss/?$ pivotx/render.php?feed=rss [L,QSA]
RewriteRule ^atom/?$ pivotx/render.php?feed=atom [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ pivotx/render.php?uri=$1&rewrite=page [L,QSA]
RewriteRule ^entry/83/wie-man-den-buchwert-je-aktie-berechnet-und-andere-uebungen ^entry/57/wie-man-den-buchwert-je-aktie-berechnet-und-andere-uebungen
Oh, and the 2nd problem is actually a simple question: Does the sitemap extension work with the multiple site mode?