Ho seguito le opzioni di integrazione qui:
http://www.vbenterprisetranslator.co....html # post1787
Questo è il mio regole di riscrittura personalizzati:
Tutto funziona alla grande nella lingua predefinita.Code:'gallery/index\.php$' => 'gallery/' 'browseimages\.php\?do=favorites$' => 'favorites.html' 'browseimages\.php\?do=subscriptions$' => 'subscriptions.html' 'browseimages\.php\?do=member&imageuser=(\d+)$' => 'imageuser-$1.html' 'browseimages\.php\?c=(\d+)$' => 'browse-$1.html' 'browseimages\.php\?c=(\d+)&page=(\d+)$' => 'browse-$1-$2.html' 'browseimages\.php\?c=(\d+)&userid=$' => 'browse-$1-albums.html' 'browseimages\.php\?c=(\d+)&userid=(\d+)$' => 'browse-$1-user$2.html' 'browseimages\.php\?c=(\d+)&u=(\d+)$' => 'browse-$1-user$2.html' 'browseimages\.php\?do=popimages$' => 'top.html' 'browseimages\.php\?do=popimages&orderby=views' => 'topviews.html' 'browseimages\.php\?do=popimages&orderby=rating' => 'toprated.html' 'browseimages\.php\?do=popimages&orderby=posts' => 'toppost.html' 'showimage\.php\?i=(\d+)&noignore=0&postid=(\d+)$' => 'image-$1-$2.html' 'showimage\.php\?i=(\d+)&original=1.*$' => 'image-$1big.html' 'showimage\.php\?i=(\d+).*$' => 'image-$1.html'
Ho aggiunto l'integrazione nella mia principale htaccess.:
E questo per il mio htaccess nella mia directory galleria.:Code:# 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} !^windows8theme\.org$ RewriteRule ^(.*)$ http://windows8theme.org/$1 [L,R=301] RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap) 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)/gallery/(.*)?$ /gallery/$2?language=$1 [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=/ [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] 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] # MONTH <FilesMatch "\.(flv|gif|jpg|jpeg|png|ico|swf)$"> Header set Cache-Control "max-age=2592000" </FilesMatch> # WEEK <FilesMatch "\.(js|css|pdf|txt)$"> Header set Cache-Control "max-age=604800" </FilesMatch> # DAY <FilesMatch "\.(html|htm)$"> Header set Cache-Control "max-age=43200" </FilesMatch>
Tuttavia, ogni volta cerco di tradurre qualsiasi pagina all'interno della galleria, ho questo sul mio browser:Code:RewriteEngine On RewriteCond %{QUERY_STRING} !vbseourl= RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /vbseo.php?vbseourl=$1&vbseorelpath=./gallery/&%{QUERY_STRING} [QSA] RewriteCond %{REQUEST_FILENAME} !/ RewriteRule ^(.*\.php)$ /vbseo.php?vbseourl=$1&vbseorelpath=./gallery/&%{QUERY_STRING} [QSA] RewriteCond %{QUERY_STRING} !redirected= RewriteCond %{QUERY_STRING} language= RewriteRule ^(.*)$ vbenterprisetranslator_front_controller.php?redirected=$1&vbet_outside=true [L,QSA] RewriteCond %{QUERY_STRING} !vbet_outside=true RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]
Per favore aiutatemi. Grazie.



Replica con citazioni
