Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Duplicate Headers Caused By VBET

  1. #1
    Member
    Join Date
    Aug 2012
    Location
    Atlanta
    Posts
    39

    Default Duplicate Headers Caused By VBET. Error: err_response_headers_multiple_location

    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":


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

    Code:
    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
    Last edited by mykkal; 31-05-15 at 19:37.

  2. #2
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default

    Try this .htaccess:
    Code:
    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

  3. #3
    Member
    Join Date
    Aug 2012
    Location
    Atlanta
    Posts
    39

    Default

    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


    Didn't Work
    Last edited by mykkal; 02-06-15 at 11:06.

  4. #4
    Member
    Join Date
    Aug 2012
    Location
    Atlanta
    Posts
    39

    Default

    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.


  5. #5
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default

    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

  6. #6
    Member
    Join Date
    Aug 2012
    Location
    Atlanta
    Posts
    39

    Default

    ok i sent them early this morning.

  7. #7
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default

    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:
      PHP Code:
      $output .= $outputResult[$i].$translated[$i]; 
    • Replace it to code:
      PHP 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.

  8. #8
    Member
    Join Date
    Aug 2012
    Location
    Atlanta
    Posts
    39

    Default

    Quote Originally Posted by Marcin Kalak View Post
    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:
      PHP Code:
      $output .= $outputResult[$i].$translated[$i]; 
    • Replace it to code:
      PHP 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?

  9. #9
    Member
    Join Date
    Aug 2012
    Location
    Atlanta
    Posts
    39

    Default

    Quote Originally Posted by mykkal View Post
    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)
    Thread View: Paid Actor(s) - Onscreen Male Spokesperson Commercial

    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.

  10. #10
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default

    You must make a fix.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •