PDA

View Full Version : Duplicate Headers Caused By VBET



mykkal
31-05-15, 19:25
I'm have over 11,000 errors in Google Webmaster tools related to VBET. It happens intermittently. Sometimes VBET is sending two versions of the headers on redirected pages. It seems to happen anytime someone visits a translated link and then visits a link that hasn't been translated without clicking on the flag. The problem is then cached by vBulletin for that page so that no one can visit it.

Please tell me how to fix this. It is causing Google to drop some pages from the index.

Here is a screenshot of the error "err_response_headers_multiple_location":
http://mymodeltalk.com/images/duplicateheaders.JPG

I do not know if this will help but here is my .htaccess:


RewriteEngine OnRewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
#OLD ReWrites
# Forum
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
#RewriteRule ^blogs/.* blog.php [QSA]
RewriteRule ^entries/.* entry.php [QSA]
# RewriteRule ^members/.* member.php [QSA]
# RewriteRule ^content/.* content.php [QSA]


RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d


# RewriteRule ^/threads/.*$ showthread.php [QSA]
# MVC
# RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]


# Check MVC result
# RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)$ - [NC,L]
#RewriteRule ^(.*)$ - [R=404,L]
# RewriteRule ^.*$ - [NC,L]
# End Old Rewrites


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]


# 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.


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 /jobs/


#RewriteCond %{HTTP_HOST} !^\.mymodeltalk.\.com
# RewriteRule (.*) http://mymodeltalk.com/jobs/$1 [L,R=301]


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


#Friendly Rewrite Rules End


#Deny attempts to view the Htaccess file.
<Files .htaccess>
Order allow,deny
Deny from all
</Files>
# BEGIN Browser Caching/Headers
<IfModule mod_mime.c>
AddType text/css .css
AddType text/richtext .rtf .rtx
AddType image/svg+xml .svg .svgz
AddType text/plain .txt
AddType text/xsd .xsd
AddType text/xsl .xsl
AddType video/asf .asf .asx .wax .wmv .wmx
AddType video/avi .avi
AddType image/bmp .bmp
AddType application/java .class
AddType video/divx .divx
AddType application/msword .doc .docx
AddType application/x-msdownload .exe
AddType image/gif .gif
AddType application/x-gzip .gz .gzip
AddType image/x-icon .ico
AddType image/jpeg .jpg .jpeg .jpe
AddType application/vnd.ms-access .mdb
AddType audio/midi .mid .midi
AddType video/quicktime .mov .qt
AddType audio/mpeg .mp3 .m4a
AddType video/mp4 .mp4 .m4v
AddType video/mpeg .mpeg .mpg .mpe
AddType application/vnd.ms-project .mpp
AddType application/vnd.oasis.opendocument.database .odb
AddType application/vnd.oasis.opendocument.chart .odc
AddType application/vnd.oasis.opendocument.formula .odf
AddType application/vnd.oasis.opendocument.graphics .odg
AddType application/vnd.oasis.opendocument.presentation .odp
AddType application/vnd.oasis.opendocument.spreadsheet .ods
AddType application/vnd.oasis.opendocument.text .odt
AddType audio/ogg .ogg
AddType application/pdf .pdf
AddType image/png .png
AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
AddType audio/x-realaudio .ra .ram
AddType application/x-shockwave-flash .swf
AddType application/x-tar .tar
AddType image/tiff .tif .tiff
AddType audio/wav .wav
AddType audio/wma .wma
AddType application/vnd.ms-write .wri
AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
AddType application/zip .zip
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css A2628000
ExpiresByType text/richtext A3600
ExpiresByType image/svg+xml A3600
ExpiresByType text/plain A3600
ExpiresByType text/xsd A3600
ExpiresByType text/xsl A3600
ExpiresByType video/asf A2628000
ExpiresByType video/avi A2628000
ExpiresByType image/bmp A2628000
ExpiresByType application/java A2628000
ExpiresByType video/divx A2628000
ExpiresByType application/msword A2628000
ExpiresByType application/x-msdownload A2628000
ExpiresByType image/gif A2628000
ExpiresByType application/x-gzip A2628000
ExpiresByType image/x-icon A2628000
ExpiresByType image/jpeg A2628000
ExpiresByType application/vnd.ms-access A2628000
ExpiresByType audio/midi A2628000
ExpiresByType video/quicktime A2628000
ExpiresByType audio/mpeg A2628000
ExpiresByType video/mp4 A2628000
ExpiresByType video/mpeg A2628000
ExpiresByType application/vnd.ms-project A2628000
ExpiresByType application/vnd.oasis.opendocument.database A2628000
ExpiresByType application/vnd.oasis.opendocument.chart A2628000
ExpiresByType application/vnd.oasis.opendocument.formula A2628000
ExpiresByType application/vnd.oasis.opendocument.graphics A2628000
ExpiresByType application/vnd.oasis.opendocument.presentation A2628000
ExpiresByType application/vnd.oasis.opendocument.spreadsheet A2628000
ExpiresByType application/vnd.oasis.opendocument.text A2628000
ExpiresByType audio/ogg A2628000
ExpiresByType application/pdf A2628000
ExpiresByType image/png A2628000
ExpiresByType application/vnd.ms-powerpoint A2628000
ExpiresByType audio/x-realaudio A2628000
ExpiresByType application/x-shockwave-flash A2628000
ExpiresByType application/x-tar A2628000
ExpiresByType image/tiff A2628000
ExpiresByType audio/wav A2628000
ExpiresByType audio/wma A2628000
ExpiresByType application/vnd.ms-write A2628000
ExpiresByType application/vnd.ms-excel A2628000
ExpiresByType application/zip A2628000
</IfModule>
<IfModule mod_deflate.c>
<IfModule mod_setenvif.c>
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html
</IfModule>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
</IfModule>
</IfModule>
<FilesMatch "\.(css|CSS|)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
<IfModule mod_headers.c>
Header set X-Powered-By "Step by Step guide to speed up your VB5"
</IfModule>
</FilesMatch>
<FilesMatch "\.(rtf|rtx|svg|svgz|txt|xsd|xsl|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
<IfModule mod_headers.c>
Header set X-Powered-By "Step by Step guide to speed up your VB5"
</IfModule>
</FilesMatch>
<FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SWF|TAR|TIF|TIFF|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
<IfModule mod_headers.c>
Header set X-Powered-By "Step by Step guide to speed up your VB4"
</IfModule>
</FilesMatch>
# End Browser Caching/Headers

Marcin Kalak
01-06-15, 09:58
Try this .htaccess:

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=/ [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]


# 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.


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 /jobs/


#RewriteCond %{HTTP_HOST} !^\.mymodeltalk.\.com
# RewriteRule (.*) http://mymodeltalk.com/jobs/$1 [L,R=301]


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]

#OLD ReWrites
# Forum
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
#RewriteRule ^blogs/.* blog.php [QSA]
RewriteRule ^entries/.* entry.php [QSA]
# RewriteRule ^members/.* member.php [QSA]
# RewriteRule ^content/.* content.php [QSA]


RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d


# RewriteRule ^/threads/.*$ showthread.php [QSA]
# MVC
# RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]


# Check MVC result
# RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)$ - [NC,L]
#RewriteRule ^(.*)$ - [R=404,L]
# RewriteRule ^.*$ - [NC,L]
# End Old Rewrites

# 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


#Friendly Rewrite Rules End


#Deny attempts to view the Htaccess file.
<Files .htaccess>
Order allow,deny
Deny from all
</Files>
# BEGIN Browser Caching/Headers
<IfModule mod_mime.c>
AddType text/css .css
AddType text/richtext .rtf .rtx
AddType image/svg+xml .svg .svgz
AddType text/plain .txt
AddType text/xsd .xsd
AddType text/xsl .xsl
AddType video/asf .asf .asx .wax .wmv .wmx
AddType video/avi .avi
AddType image/bmp .bmp
AddType application/java .class
AddType video/divx .divx
AddType application/msword .doc .docx
AddType application/x-msdownload .exe
AddType image/gif .gif
AddType application/x-gzip .gz .gzip
AddType image/x-icon .ico
AddType image/jpeg .jpg .jpeg .jpe
AddType application/vnd.ms-access .mdb
AddType audio/midi .mid .midi
AddType video/quicktime .mov .qt
AddType audio/mpeg .mp3 .m4a
AddType video/mp4 .mp4 .m4v
AddType video/mpeg .mpeg .mpg .mpe
AddType application/vnd.ms-project .mpp
AddType application/vnd.oasis.opendocument.database .odb
AddType application/vnd.oasis.opendocument.chart .odc
AddType application/vnd.oasis.opendocument.formula .odf
AddType application/vnd.oasis.opendocument.graphics .odg
AddType application/vnd.oasis.opendocument.presentation .odp
AddType application/vnd.oasis.opendocument.spreadsheet .ods
AddType application/vnd.oasis.opendocument.text .odt
AddType audio/ogg .ogg
AddType application/pdf .pdf
AddType image/png .png
AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
AddType audio/x-realaudio .ra .ram
AddType application/x-shockwave-flash .swf
AddType application/x-tar .tar
AddType image/tiff .tif .tiff
AddType audio/wav .wav
AddType audio/wma .wma
AddType application/vnd.ms-write .wri
AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
AddType application/zip .zip
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css A2628000
ExpiresByType text/richtext A3600
ExpiresByType image/svg+xml A3600
ExpiresByType text/plain A3600
ExpiresByType text/xsd A3600
ExpiresByType text/xsl A3600
ExpiresByType video/asf A2628000
ExpiresByType video/avi A2628000
ExpiresByType image/bmp A2628000
ExpiresByType application/java A2628000
ExpiresByType video/divx A2628000
ExpiresByType application/msword A2628000
ExpiresByType application/x-msdownload A2628000
ExpiresByType image/gif A2628000
ExpiresByType application/x-gzip A2628000
ExpiresByType image/x-icon A2628000
ExpiresByType image/jpeg A2628000
ExpiresByType application/vnd.ms-access A2628000
ExpiresByType audio/midi A2628000
ExpiresByType video/quicktime A2628000
ExpiresByType audio/mpeg A2628000
ExpiresByType video/mp4 A2628000
ExpiresByType video/mpeg A2628000
ExpiresByType application/vnd.ms-project A2628000
ExpiresByType application/vnd.oasis.opendocument.database A2628000
ExpiresByType application/vnd.oasis.opendocument.chart A2628000
ExpiresByType application/vnd.oasis.opendocument.formula A2628000
ExpiresByType application/vnd.oasis.opendocument.graphics A2628000
ExpiresByType application/vnd.oasis.opendocument.presentation A2628000
ExpiresByType application/vnd.oasis.opendocument.spreadsheet A2628000
ExpiresByType application/vnd.oasis.opendocument.text A2628000
ExpiresByType audio/ogg A2628000
ExpiresByType application/pdf A2628000
ExpiresByType image/png A2628000
ExpiresByType application/vnd.ms-powerpoint A2628000
ExpiresByType audio/x-realaudio A2628000
ExpiresByType application/x-shockwave-flash A2628000
ExpiresByType application/x-tar A2628000
ExpiresByType image/tiff A2628000
ExpiresByType audio/wav A2628000
ExpiresByType audio/wma A2628000
ExpiresByType application/vnd.ms-write A2628000
ExpiresByType application/vnd.ms-excel A2628000
ExpiresByType application/zip A2628000
</IfModule>
<IfModule mod_deflate.c>
<IfModule mod_setenvif.c>
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html
</IfModule>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
</IfModule>
</IfModule>
<FilesMatch "\.(css|CSS|)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
<IfModule mod_headers.c>
Header set X-Powered-By "Step by Step guide to speed up your VB5"
</IfModule>
</FilesMatch>
<FilesMatch "\.(rtf|rtx|svg|svgz|txt|xsd|xsl|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
<IfModule mod_headers.c>
Header set X-Powered-By "Step by Step guide to speed up your VB5"
</IfModule>
</FilesMatch>
<FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SWF|TAR|TIF|TIFF|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
<IfModule mod_headers.c>
Header set X-Powered-By "Step by Step guide to speed up your VB4"
</IfModule>
</FilesMatch>
# End Browser Caching/Headers

mykkal
02-06-15, 11:03
OK, i tried your .htacess file and it didn't seem to work. After I installed it, I reloaded the page in german and all of the text disappeared. I tried reloading in other languages and experienced the same. Only English would work. I have no idea what is causing this...is there a problem in the php cache? I'm using php 5.5 with VBSEO. I'm happy to give you access to the system if you need it.

This is very distressing because now all of the translation pages are empty with no text. I have restored to the earlier version of my htaccess but the problem persists. I have deleted my browser cache.

Here are some screenshots so you can see what has happened:
Original
http://mymodeltalk.com/images/original.JPG

Didn't Work
http://mymodeltalk.com/images/didnt_work.JPG

mykkal
03-06-15, 07:03
How does changing my .htacess cause text to disappear? I've tried everything I can think of... deleting the cache, etc. Still all translated pages are now blank and my site is dropping from google index!

I need help with this plugin.

http://mymodeltalk.com/images/not_working.JPG

Marcin Kalak
03-06-15, 09:19
Changing .htaccess should not cause disappear text. Please send me a PM access details to Admin CP, vBSEO CP and FTP. I will check what is going on there :)

mykkal
03-06-15, 17:49
ok i sent them early this morning.

Marcin Kalak
04-06-15, 17:37
Issue was exhaustion of the limits of the translator and bad showing not translated texts in free version.

Quick fix for this issue:

Open file includes/vbenterprisetranslator_functions.php
Find code:

$output .= $outputResult[$i].$translated[$i];
Replace it to code:


if(!empty($translated[$i])) {
$output .= $outputResult[$i].$translated[$i];
}
else {
$output .= $outputResult[$i].$translationTexts[$i];
}


This issue will be fixed in the next release.

mykkal
04-06-15, 18:15
Issue was exhaustion of the limits of the translator and bad showing not translated texts in free version.

Quick fix for this issue:

Open file includes/vbenterprisetranslator_functions.php
Find code:

$output .= $outputResult[$i].$translated[$i];
Replace it to code:


if(!empty($translated[$i])) {
$output .= $outputResult[$i].$translated[$i];
}
else {
$output .= $outputResult[$i].$translationTexts[$i];
}


This issue will be fixed in the next release.


Great, did you apply the fix or do I need to?

mykkal
04-06-15, 18:36
Great, did you apply the fix or do I need to?
I applied your code changes but translations are not working. Part of the text is being translated and the other is still english. it is if it is only translating the text defined in the Vbulletin language files and the text entered by the poster is left mostly alone.

Please take a look at these two examples:
Forum View: Model Støbegods & der Handler Auditions (Chicago & Illinois) (http://mymodeltalk.com/jobs/da/model-castings-acting-auditions-chicago-illinois/)
Thread View: Paid Actor(s) - Onscreen Male Spokesperson Commercial (http://mymodeltalk.com/jobs/da/model-castings-acting-auditions-chicago-illinois/1138529-onscreen-male-spokesperson-commercial.html)

I would really appreciate it if you could go in and fix this yourself like you offered. This is taking an enormous amount of time and i'm falling out of the search index. That's unhealthy for my site.

Marcin Kalak
04-06-15, 18:36
You must make a fix.

Marcin Kalak
04-06-15, 18:51
Part of text is not translated, because you have reached limit of translations. More information: http://www.vbenterprisetranslator.com/forum/vbet4-troubleshooting/413-faq-2.html#post10969.

mykkal
04-06-15, 19:26
Part of text is not translated, because you have reached limit of translations. More information: http://www.vbenterprisetranslator.com/forum/vbet4-troubleshooting/413-faq-2.html#post10969.

so i've reached my limits for the month?

Marcin Kalak
05-06-15, 10:45
You probably have exceeded daily limit. Yandex allows you to translate daily to 1M characters, but not more than 10M per month.

mykkal
11-06-15, 12:38
Hi martin,

One last thing. Your .htaccess seems to have fixed everything except two things remain.

1. The new htaccess has created an issue where the old archive urls redirect to http://mymodeltalk.com/sitemap/ instead of MyModelTalk Free Casting Calls for Models and Actors! (http://mymodeltalk.com/jobs/sitemap). Click http://mymodeltalk.com/jobs/archive/index.php for an example of whats going wrong. I don't know much about htaccess so i'm not sure how to rewrite this correctly and i deleted my old htaccess.

2. vbet rewrites all the navigation links correctly except the logo url and the "Forum Home" url. For example if click on the spanish translation i can visit any links to see spanish translation. However if i click on Forum home or the logo image it takes me back to english version.

How do i fix both of these?

Marcin Kalak
11-06-15, 15:26
Please keep one issue in one thread.
As to the first issue. Try to temporarily disable vBET and see if the issue persists.
As for the second point, the issue is that vB has not added to the link a base path. vBET must have full link to add language code.

mykkal
12-06-15, 00:13
Please keep one issue in one thread.
As to the first issue. Try to temporarily disable vBET and see if the issue persists.
As for the second point, the issue is that vB has not added to the link a base path. vBET must have full link to add language code.

My apologies in the future I won't do that.

1. The issue is related to htaccess. I deleted my old version after I thought it was working. We only made changes to the .htaccess file. I went ahead and disabled vBET but it didn't change anything and I didn't expect that too.

2. Which of these is a full base path?


"http://mymodeltalk.com/jobs"
"../forum.php"

Marcin Kalak
12-06-15, 08:41
I'm curious if it's surely a issue of changing .htaccess. You have in this thread previous .htaccess. You try to temporarily restore it and see if the issue will still occur.

Full base path for your site is "http://mymodeltalk.com/jobs". vB should add it to each link.

Marcin Kalak
23-06-15, 11:15
No response - considered the issue is gone. If not please write here.

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
vBET 4.9.99 supports automatic translations