Quote Postiwyd yn wreiddiol gan trevis View Post
Text automatically translated from: Portuguese to: Welsh
Translated text
Helo Michal,

Rwy'n codi'r cyfluniad. Gallwch htaccess chi fy helpu i?

Rwyf wedi ceisio gosod y rheolau gerbron y LLINELL vbseo.php, rwyf wedi ceisio diffodd y rheolau cyn vbseo.php HOLL RHEOLAU, yr wyf yn ceisio ei roi yn y canol, yn olaf, nid wyf yn cael y canlyniad disgwyliedig.

Allwch chi roi enghraifft o sut i gael gafael arno. VBET y htaccess i weithio gyda vBSEO?

[] S,
Rafael Trevisan.
Original text
Dylai edrych fel isod os nad yw eich fforwm yn defnyddio is-gyfeiriadur mewn URL. Os oes rhaid i chi addasu 2 reol vBET gyntaf. Os cewch drafferthion - anfonwch eich URL fforwm llawn a byddaf yn rhoi rheolau sydd eisoes wedi'u haddasu i chi
Code:
RewriteEngine On

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

###############################################################################
# vBET
# ====
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|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=/ [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|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=/$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]

###############################################################################
# vBSEO
# ====
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]