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.
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.
Update: after disabling Vbet in accordance with your post above Google now sees my sitemaps.
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)):
as you know with this htaccess vbet is working only on forum pages.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]
test it. and check that google can see your sitemap
thanks
Thanks. I'll try that now.
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.
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
ThankI will solve it for you
PM is on the way![]()
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:
- and replace with:PHP Code:
<input type="hidden" name="ie" value="ISO-8859-2"/>
2. issue with german letters in url on not translated page -> we should define character replacement in vbseo general options.PHP Code:
<input type="hidden" name="ie"<vb:if condition="$_REQUEST['language']"> value="UTF-8"<vb:else />value="ISO-8859-2"</vb:if>/>
EXAMPLE:
3. about translation of main page - still working.Code:'ü' => 'ue' 'ä' => 'ae' 'ö' => 'oe' 'ß' => 'ss'
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.
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?