Błąd .htaccess dla vbseo_sitemap-2-5 + vbseo_3-2-0_gold
Mam taki oto problem:
Zainstalowałem dwa produkty: vbseo_3-2-0_gold i vbseo_sitemap-2-5.
vbseo_3-2-0_gold skonfigurowałem i działa odpowiednio. Problem natomiast mam z vbseo_sitemap-2-5.
Mianowicie standardowo dołączony plik .htaccess do vbseo_3-2-0_gold, który wygląda tak:
Kod:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /
#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
powoduje błędy w wyświetlaniu sitemap.
Załącznik 349
Dodam, że jeśli wgram .htaccess dołączony standardowo do vbseo_sitemap-2-5 w postaci:
Kod:
RewriteEngine On
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
wszystko jest w pożądku i sitemap wyświetla się wzorowo. Jednak jak nie trudno się domyśleć vbseo_3-2-0_gold nie działa wtedy prawidłowo i nie przekierowuje odpowiednio linków.
Teraz pytanie: czy to wina .htaccess, czy błędnych ustawień wtyczek?