PDA

Gweld Ffurf Llawn: Datrys Showthread.php? P = x nad ailysgrifennu



moman
06-10-10, 07:47
Showthread.php? P = x cysylltiadau yn cael eu hailysgrifennu o gwbl gan vBSEO (showthread.php? T = x cysylltiadau yn iawn).

Isod mae fy htaccess


# 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\.pentaxforums\.com
RewriteRule (.*) http://www.pentaxforums.com/forums/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|en|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/ [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|en|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/$2 [L,QSA]

#RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
#RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]

#RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
#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]

Options All -Indexes
Options +FollowSymLinks
% RewriteCond # {REQUEST_URI}! (Admincp / | modcp / | vbseo_sitemap / | cron)
# RewriteRule ^ ((archif /)?(.* \\. Php (/.*)?))$ vbenterprisetranslator_seo.php [L, QSA]

A oedd sylwadau gan y tîm cymorth vBSEO am achosi nam yn 301 yn fforymau lle mae defnyddwyr yn unig oedd caniatâd i weld eu hunain edafedd. Pan oeddwn yn eu rhoi yn ôl yn, y showthread? Cysylltiadau p gweithio eto, ond wedyn y resurfaces bug.

moman
06-10-10, 07:54
Golygu:

Roedd y broblem. Ymddangos bod vBSEO cefnogi torrodd un peth wrth osod un arall.

Yr wyf yn rhoi y rheolau hyn yn ôl yn, ac mae popeth yn gweithio:
% RewriteCond {REQUEST_URI}! (Admincp / | modcp / | vbseo_sitemap / | cron)
RewriteRule ^ ((archif /)?(.* \\. Php (/.*)?))$ vbenterprisetranslator_seo.php [L, QSA]

Mae'r ddau, mae gan y tîm cefnogi yn wreiddiol Dywedodd allan, a achoswyd y byg eraill:
% RewriteCond # {REQUEST_URI}! (Admincp / | modcp / | cron | vbseo_sitemap)
# RewriteRule ^ ((archif /)?(.* \\. Php (/.*)?))$ vbseo.php [L, QSA]

kamilkurczak
06-10-10, 08:33
Rwy'n deall ei bod yn datrys erbyn hyn? diolch am gadarnhad. :)

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations made by vB Enterprise Translator 4.10.1