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 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 32

Thread: Flag url is incorrect

  1. #11
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default

    Thanks. I have disabled 'keep non-English characters in URLs' for now and will carry out the steps you mentioned for the sitemap. I'll let you know how it went.

    Looking forward to hearing from you later.

  2. #12
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default

    Update: after disabling Vbet in accordance with your post above Google now sees my sitemaps.

  3. #13
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    ok, so now I know why we can't use .htaccess in /forum folder

    another test. just enable vBET again, add this htaccess in main folder (replace with the old one (NOT IN /FORUM FOLDER)):
    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} !^www\.hj-research\.com
    RewriteCond %{HTTP_HOST} !(^www\.hj-research\.com$|^cdn\.hj-research\.com$)
    RewriteRule (.*) http://www.hj-research.com/$1 [R=301,L]
    
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forum/$1 [L,R=301]
    
    RewriteRule ^forum/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    #vbet translator rules start
    
    RewriteRule ^forum/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|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|ur|vi|cy|yi)/$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]
    RewriteRule ^forum/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|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|ur|vi|cy|yi)/(.*)?$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/$2 [L,QSA]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
    RewriteRule ^forum/((archive/)?(.*.php(/.*)?))$ forum/vbenterprisetranslator_seo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ forum/vbenterprisetranslator_seo.php [L,QSA]
    
    #vbet translator rules end
    
    
    RewriteCond %{REQUEST_URI} !(media/|admincp/|modcp/|cron|vbseo_sitemap)
    RewriteRule ^forum/((archive/)?(.*\.php(/.*)?))$ forum/vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(media|admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ forum/vbseo.php [L,QSA]
    
    ## Expires
    <ifModule mod_expires.c>
    	ExpiresActive On
    	ExpiresDefault "access plus 1 seconds"
    	ExpiresByType text/html "access plus 1 seconds"
    	ExpiresByType image/gif "access plus 3456000 seconds"
    	ExpiresByType image/jpeg "access plus 3456000 seconds"
    	ExpiresByType image/png "access plus 3456000 seconds"
    	ExpiresByType text/css "access plus 3456000 seconds"
    	ExpiresByType text/javascript "access plus 3456000 seconds"
    	ExpiresByType application/javascript "access plus 3456000 seconds"
    	ExpiresByType application/x-javascript "access plus 3456000 seconds"
    </ifModule>
    
    ## Compression
    <ifmodule mod_headers.c>
    	<ifmodule mod_deflate.c>
    		AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
    		BrowserMatch ^Mozilla/4 gzip-only-text/html
    		BrowserMatch ^Mozilla/4\.0[678] no-gzip
    		BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    	</ifmodule>
    </ifmodule>
    
    #Remove index.php from hj-research.com/index.php
    #rewrite engine on 
    RewriteCond %{THE_REQUEST} index\.php
    RewriteCond %{QUERY_STRING} ^$
    RewriteRule ^index\.php$ / [L,R=301]
    as you know with this htaccess vbet is working only on forum pages.
    test it. and check that google can see your sitemap

    thanks

  4. #14
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default

    Thanks. I'll try that now.

  5. #15
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default

    Tested. Only the main forum page translates (as you said it would) but the sitemap is accepted by google. The sitemap wasn't however any bigger than normal and didn't contain any foreign language urls.

    The foreign language urls are still not correct on my forum and continue to produce 404 pages despite my vbseo settings and files being the same as described in your setup procedure. They look fine but when you click on them they 404.

    I accept that you guys can't cater for all vbulletin configurations and that my forum presents a non-standard installation of vb so I'm going to have to leave vbet disabled for now.

    I hope that it will be possible at some point to get vbet working on my forum but at the moment I wouldn't be happy with a partial translation of my forum and non-working links.

    Thanks for the time you've put into this though. It was much appreciated.
    Last edited by norku; 10-03-11 at 17:18.

  6. #16
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    ok, now I know more. so we can use only htaccess in main folder, not in /folder.

    Please give me some time to find a solution. I must think about it and try some configuration.
    Also please give me a password to vbseocp because I will be able to check vbseo configuration to eliminate 404 error

    Thank I will solve it for you

  7. #17
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default

    PM is on the way

  8. #18
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    I would like to summarize all changes.

    1. integrate with google search engine - there was a encoding issue when page was translated. how to fix?

    -go to admincp->style & templates->navbar template
    -in this template find:
    PHP Code:
    <input type="hidden" name="ie" value="ISO-8859-2"/> 
    - and replace with:
    PHP Code:
    <input type="hidden" name="ie"<vb:if condition="$_REQUEST['language']"value="UTF-8"<vb:else />value="ISO-8859-2"</vb:if>/> 
    2. issue with german letters in url on not translated page -> we should define character replacement in vbseo general options.

    EXAMPLE:
    Code:
    'ü' => 'ue'
    'ä' => 'ae'
    'ö' => 'oe'
    'ß' => 'ss'
    3. about translation of main page - still working.

  9. #19
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default

    There is a problem with the characters. If the user sets the forum language to German in his profile and makes a post containing Ä ä Ö ö Ü ü ß the translation works when viewed in English. However, if he wants to edit his post he sees html numbers instead of letters.

    In vbseo cp ****> 'Define your Custom Character Replacements' I currently have the following entered so that my indexed URLs still work:

    'ü' => 'ue'
    'ä' => 'ae'
    'ö' => 'oe'
    'ß' => 'ss'

    However, what I really need to do is to enter

    '(html number)' => 'ä' so that the edit problem is fixed. However, this will have an impact on my indexed URLs. Or am I missing something here?

    I can only use one language at the moment because I have no Custom Character Replacements defined for the other (50!) languages.

    Is there a way to get this working?
    Last edited by norku; 11-03-11 at 11:56.

  10. #20
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    You do not need to declare characters replacement in all languages - only for letters for language before installation of vBET (German).
    Now all letters for other languages are good
    If not - please give me an example (url)

    secondly: acsii numbers in post edition -> please give me url to example.
    which encoding your forum use? UTF-8?

Page 2 of 4 FirstFirst 1234 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
  •