Saya mengalami masalah serius di sini. Mohon bantuan.
Saya pikir mungkin ada hubungannya dengan integrasi. Htaccess saya. Berikut ini adalah milikku, itu benar, atau aku melakukan sesuatu yang salah?:
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 ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/ 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=/forum/index.php [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=/forum/$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 ^(.+)$ 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>
Hey guys,
Saya mengalami kesulitan dengan penerjemah. Saya telah terinstal dan saya dimasukkan ke menulis ulang aturan dalam htaccess saya tetapi saya mendapatkan kesalahan 404 ketika saya mencoba untuk mengunjungi url diterjemahkan. Subdirektori forum saya di adalah 'pekerjaan'. Bisakah kalian membantu? Berikut adalah htaccess saya.
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 RewriteRule ^[^/]+-f([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=forumdisplay.php&f=$1&page=$3 [L] RewriteRule ^[^/]+-t([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=showthread.php&t=$1&page=$3 [L] RewriteRule ^[^/]+-f([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=forumdisplay.php&f=$1&page=$3 [L] RewriteRule ^[^/]+-t([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=showthread.php&t=$1&page=$3 [L] # 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 / 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|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=/jobs/ [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=/jobs/$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 %{QUERY_STRING} !vbseourl= RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron) RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$ RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/ RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA] php_flag magic_quotes_sybase 0 php_flag suhosin.cookie.encrypt Off php_value suhosin.request.max_vars 2048 php_value suhosin.post.max_vars 2048 <Files 403.shtml> order allow,deny allow from all </Files> deny from 41. deny from 190.58.246.214 deny from 196.29.219.35 deny from 81.18.42.117
Hey guys,
mengalami kesulitan untuk mendapatkan vbet untuk bekerja pada mymodeltalk.com situs saya. Saya menambahkan semua file htcaccess seperti yang Anda lihat di bawah, tetapi ketika saya klik pada terjemahan saya mendapatkan 404 error. Kami memiliki forum kami dalam subdirektori pekerjaan. Ide-ide dari apa yang harus saya lakukan?
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 RewriteRule ^[^/]+-f([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=forumdisplay.php&f=$1&page=$3 [L] RewriteRule ^[^/]+-t([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=showthread.php&t=$1&page=$3 [L] RewriteRule ^[^/]+-f([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=forumdisplay.php&f=$1&page=$3 [L] RewriteRule ^[^/]+-t([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=showthread.php&t=$1&page=$3 [L] # 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 / 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|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=/jobs/ [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=/jobs/$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 %{QUERY_STRING} !vbseourl= RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron) RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$ RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/ RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA] php_flag magic_quotes_sybase 0 php_flag suhosin.cookie.encrypt Off php_value suhosin.request.max_vars 2048 php_value suhosin.post.max_vars 2048 <Files 403.shtml> order allow,deny allow from all </Files> deny from 41. deny from 190.58.246.214 deny from 196.29.219.35 deny from 81.18.42.117
Masukkan untuk htaccess:
Posting harus baik menerjemahkan dan link harus bekerja, tetapi link tidak dapat menerjemahkan. Maka Anda mungkin ingin mempertimbangkan memperbarui dan membuat vBSEO integrasi penuh vBET.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 / RewriteEngine On 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|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=/jobs/ [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=/jobs/$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 ^[^/]+-f([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=forumdisplay.php&f=$1&page=$3 [L] RewriteRule ^[^/]+-t([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=showthread.php&t=$1&page=$3 [L] RewriteRule ^[^/]+-f([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=forumdisplay.php&f=$1&page=$3 [L] RewriteRule ^[^/]+-t([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=showthread.php&t=$1&page=$3 [L] RewriteCond %{QUERY_STRING} !vbseourl= RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron) RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$ RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/ RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA] php_flag magic_quotes_sybase 0 php_flag suhosin.cookie.encrypt Off php_value suhosin.request.max_vars 2048 php_value suhosin.post.max_vars 2048 <Files 403.shtml> order allow,deny allow from all </Files> deny from 41. deny from 190.58.246.214 deny from 196.29.219.35 deny from 81.18.42.117
Terakhir kali disunting oleh Marcin Kalak; 27-08-12 di 15:48.
Jika .htaccess ini tidak bekerja, saya sarankan Anda meng-upgrade ke versi terbaru dari vBSEO dan pelaksanaan konfigurasi penuh lagi, yang di vBET/do-not-upload/readme.html
Terakhir kali disunting oleh Marcin Kalak; 29-08-12 di 11:13.