重要:此页面会使用Cookie (cookies). 使用本网站不关闭浏览器中的cookie,即表示您同意使用它。
现在购买! 特点 下载

赚钱!

如果您想要开始赚钱与贝特联接 联盟计划。
12 12 最后Last
结果 11032

主题: 标志URL是不正确的

混合视图视图

以前的帖子 Previous Post   Next Post 下一篇文章
  1. #1
    高级会员
    注册日期
    2011年2月
    帖子
    138

    Default 标志URL是不正确的

    如果我输入
    PHP Code:
    www.xxxxxx.com/forum/de
    手动输入到浏览器地址栏和命中,一切都很好。然而,当我让德国国旗和命中它btries打开
    PHP Code:
    www.xxxxxx.com/de/forum
    任何想法?
    最后编辑者 norku; 05-04-1117:21.

  2. #2
    vBulletin企业翻译(vBET)员工
    注册日期
    2010年5月
    帖子
    1,000

    Default

    给你我有一些问题:
    1。你为什么百度推广这个变化?这里描述的:
    http://www.vbenterprisetranslator.co....html#post7479
    2。如果你使一个。htaccess文件 /论坛 将不会好?
    3。你有这个环节上htaccess的,因为现在你有两个组vBET规则。
    - 翻译主页
    - 翻译论坛

    也许我们可以让两个。htaccess文件?喜欢你的旧的和第二 /论坛 文件夹?

    你可以试试它。
    第一。htaccess文件(旧的)放在外论坛的文件夹:
    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
    #vbet outside site
    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)/$ index.php?language=$1&vbet_outside=true [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)/(.*)?$ $2?language=$1&vbet_outside=true [L,QSA]
    
    RewriteCond %{QUERY_STRING} !vbet_outside=true
    RewriteRule ^(.*)$ $1?vbet_outside=true [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]
    和第二 /论坛 文件夹 (仅 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
    
    
    RewriteRule ^/?(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)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]
    RewriteRule ^/?(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)/(.*)?$ 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]
    
    
    
    #vbet translator rules end
    你可以测试它?我等待结论。如果仍然没有 - DELETE /论坛的文件夹的。htaccess 和旧的.htaccess 替换这一 (因为用此 htaccess 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 /
    
    
    #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]

  3. #3
    高级会员
    注册日期
    2011年2月
    帖子
    138

    Default

    嗨,

    现在,我来看看这个。感谢。你能准确地解释这些htaccess文件做什么?
    最后编辑者 norku; 10-03-1111:05.

  4. #4
    vBulletin企业翻译(vBET)员工
    注册日期
    2010年5月
    帖子
    1,000

    Default

    请,检查时。

    你让一个坏的。htaccess。
    粘贴在文件末尾vBET规则!这是坏 - 请像从我的previoust职位一个htaccess文件

  5. #5
    高级会员
    注册日期
    2011年2月
    帖子
    138

    Default

    我没有。我把他们赶走。从上述职位,我现在已经上传你的htaccess的服务器错误现在纠正。 Sitemaps的前面,我注意到有一个问题。他们无法找到由谷歌

  6. #6
    vBulletin企业翻译(vBET)员工
    注册日期
    2010年5月
    帖子
    1,000

    Default

    请,如果你能 - 回答我的问题一个接一个 - 将很容易找到最好的解决方案。
    http://www.vbenterprisetranslator.co....html#post7535

  7. #7
    高级会员
    注册日期
    2011年2月
    帖子
    138

    Default

    感谢。我已禁用“保持在非英文字符的URL”为现在和将开展的步骤,你提到的地图。我要让你知道如何去。

    期待你的听证会后。

  8. #8
    高级会员
    注册日期
    2011年2月
    帖子
    138

    Default

    啊,好吧。是的,我复制的第一个来自法国的Wiki和粘贴它。

    然而,当我选择我的论坛语言为 德语,然后在德国发布,人物仍然显示为HTML格式的数字时,我编辑这个职位,或在翻译后单击箭头....?

  9. #9
    vBulletin企业翻译(vBET)员工
    注册日期
    2010年5月
    帖子
    1,000

    Default

    是的,你是正确的。看看我的两个职位 - 最前一页之一是没有翻译的页面(英文) - 没有问题,当你想编辑它。

    第二个是从翻译(波兰)页,这里是一个问题 - 在256与ASCII码字母 - 错编码 - 我到vBulletin报道错误,我会尝试修复它。

  10. #10
    vBulletin企业翻译(vBET)员工
    注册日期
    2010年5月
    帖子
    1,000

    Default

    我的工作与vBulletin团队:
    论坛的ASCII字符问题

    现在我们有一个周末。如果是OK,你可以周末开始后这个话题?

    周末期间,我将与vBulletin团队。
    最后编辑者 kamilkurczak; 11-03-1113:25.

12 12 最后Last

此主题的标签

发帖权限

  • 可能不会 发表新主题
  • 可能不会 发表回复
  • 可能不会 上传附件
  • 可能不会 编辑您的文章
  •