查看完整版本: 已解决 CMS根,/部长级环境论坛论坛
嗨,
我想知道什么样的变化,需要在您的论坛,有步骤实施以下链接(特别是在该职位的说明,第二组/论坛的VB安装)vbet的安装说明:
WWW .vbseo.com/f5/vbseo-3-5-release-candidate-1-here-39776/index10.html#post254125百度推广3.5发行候选版本1就在这里! - 简体中文SEO论坛
我试图安装vbet昨天收到了404,当我重新载入我的论坛,我猜,这发生的变化,因为我实现了链接。
谢谢
kamilkurczak
07-03-11, 11:30
打招呼。
如果您有您的论坛,在论坛的文件夹,你应该编辑vBET主要设置:
admincp -> vBET>主
论坛/论坛目录
链接类型以VBSEO_URI
翻译链接类型的搜索引擎优化
其次,你需要像这样的一个htaccess文件:
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=/forum/ [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=/forum/$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]
如果仍然没有好 - 请粘贴在这里您htaccess文件的内容,使您的网站VBET - 我会检查它。
谢谢
没有工作的不幸。我不能离开vbet因为404的活动。这是我引用的线程的内容:
/论坛(或其他文件夹的名称)VB4安装
所说的CMS根,您的论坛文件夹以外的,与没有/内容/重定向和其子文件夹在您的论坛仍然一如既往。
第1步
复制论坛/ index.php文件到根目录。
确保index.php文件设置为需要的内容。
邮编:
要求('content.php“);
该论坛需要位代码被注释掉。
您还需要的注释,相对路径指令,并确保它准确地反映您的论坛的安装位置:
邮编:
定义(VB_RELATIVE_PATH,“论坛/”);
执行下列操作之一:
步骤2a:
重命名论坛/论坛/ index_old.php或保持它周围的一些其他的名称,但不指定索引的index.php。
重命名论坛/论坛/ index.php的forum.php
或:
步骤2b:
编辑论坛/ index.php文件
将它设置为:
邮编:
/ /定义(VB_RELATIVE_PATH,'');
要求(“forum.php);
第3步:
在vBoptions => forumhome页选项
设置的第一个条目
邮编:
指数
vboptions - > CMS的选择,
确保“网站”选项卡上的网址“脚本
邮编:
content.php
此外,
CMS的网址
“可选的网址为您的CMS。”
在vboptions - > CMS选项面板应留空!。
第4步:
在vbseocp
网址Reweite设置 - > CMS =>高级设置选项卡
设置CMS的首页
充分发挥你的COM结尾的斜线,又名根。
邮编:
http://www.yourdomain.com/
不要搞砸了您的www在这里。他们使用或不使用htaccess和BBURL vboptions是完全成立,否则你将在一个循环结束。
第5步:
在vbseocp,搜索引擎优化功能 - >首页设置
设置为“是”警队网页论坛根
并输入
邮编:
论坛/ index.php文件
论坛/的index.php?
在别名框中。
保存设置。
第6步:
创建一个在您的站点的根目录具有以下的htaccess文件。注意,/论坛的一些规则的路径。您可能需要调整您的文件夹名称。
邮编:
#注释以下行(加'#'开始)
#禁用的mod_rewrite功能。
#请注意:你仍然需要禁用的破解
#百度推广控制面板停止URL重写。
RewriteEngine叙述在
#有些服务器要求RewriteBase指令
#启用(删除'#'开始激活)
#请注意:启用时,您必须包括路径
#您的VB的根文件夹(即RewriteBase /论坛/)
#RewriteBase /
#RewriteCond%{HTTP_HOST}!^ WWW \\。您的网域\\。COM
#RewriteRule(.*)http://www.yourdomain.com/forums/ $ 1 [L,R = 301]
RewriteRule ^论坛/((urllist | sitemap_).* \\(XML |。?TXT)(\\ GZ))?$论坛/ vbseo_sitemap / vbseo_getsitemap.php地图= $ 1 [L]
RewriteCond%{REQUEST_URI}!(admincp / | modcp / |的cron | vbseo_sitemap)
RewriteRule ^ /((存档/)?(.* \\。PHP (/.*)?))$论坛/ vbseo.php [L,QSA]
RewriteCond%{REQUEST_FILENAME}!- F
RewriteCond%{REQUEST_FILENAME}!- D
RewriteCond%{REQUEST_FILENAME} /(admincp | modcp |的ClientScript | cpstyles |影像)/
RewriteRule ^(.+)$论坛/ vbseo.php [L,QSA]
第7步:
只需要在RC2测试版预发行和降低。 (将固定在写这篇文章的下一个构建)。
打开百度推广/包括/ functions_vbseo_vb.php文件:
发现:
邮编:
headinclude = preg_replace函数$('#<base href.*?>#是','',$ headinclude);
替换为:
邮编:
如果(定义(“VBSEO_PREPROCESSED))
headinclude = preg_replace函数$(“#<base href[^> ]*?>( \\ S *??)#','',$ headinclude);
完成。
因此,在我的论坛下面的情况:
/ index.php的解析为:/
/论坛/ forum.php解析/论坛/
/论坛/ index.php的解析/论坛/
任何我需要做的除了vbet安装指南中的步骤?
kamilkurczak
07-03-11, 18:28
你可以试试这个。htaccess文件?
# 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\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
RewriteRule ^forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
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=/forum/ [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=/forum/$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]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^forums/((archive/)?(.*\.php(/.*)?))$ forums/vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ forums/vbseo.php [L,QSA]
在我走之前提前和尝试,在这里我目前htaccess文件(显然没有vbet规则):
edited out - awaiting response
kamilkurczak
07-03-11, 22:49
是的,我还在思考有关解决方案。
我们可以进行测试呢?会发生什么事,当你在admincp ->主要设置
- 链接类型以REQUEST_URI
- 翻译链接类型添加语言参数的URL(即“地址LANGUAGE =恩?”)
工程或不呢?
相同的结果。随着更新到位htaccess文件中,我得到一个404,当我加载了座谈会。如果我把你的的行了,一切都很好。
正如我说,我的VB套件是安装在/论坛。如果我用你的建议htaccess文件,然后vbenterprisetranslator_seo.php将产生一个404,因为它不是位于/ vbenterprisetranslator_seo.php /论坛/ vbenterprisetranslator_seo.php声音正确,而?
考虑到这一点,下面是一个VB套件安装在/论坛是正确的吗?
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)/$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ [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)/(.*)?$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$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,试图与上述线路和404除了我htaccess文件已经消失了,并在所选择的语言论坛负载没关系。百度推广网址是附加语言= DE /?
所以,我在正确的轨道,在这里我想。 htaccess文件中的所有细节实际上是正确的,但?
编辑:这似乎是工作,但是当我设置Vbet主菜单VBSEO_URI一切顺利奶最多。显而易见的,为什么,但再我一直在测试这么多小时,现在我不知道什么是正确的,什么是错的更多....
因此,
我vbet htaccess的规则与套件安装在/论坛论坛,请?规则必须作出上述更改后4的帐户。我想获得这方面的工作... ...
谢谢
kamilkurczak
08-03-11, 19:41
下午您的FTP和admincp细节(和vbseoadmin),请发送给我,我将检查你的服务器和vBET配置。
这个线程消失了几个小时前,当您的网站了。现在该线程再次出现,我看到我最后的答复是缺少。
我已要求在任何情况下退款。支持时间和支持水平是坦率地说深不可测,我没有时间等待半的答案,没有丝毫的帮助。
你不回答问题或反应就是我给予症状/进一步信息。相反,我应该只是给你我的论坛管理员级别的访问?对于我来说,我不愿意承担风险。因此,如果你不愿意花时间在这里商量事情,然后我没有看到一个解决方案。
这个线程消失了几个小时前,当您的网站了。现在该线程再次出现,我看到我最后的答复是缺少。
请在这里看到:http://www.vbenterprisetranslator.com/forum/vbet-announcements/1518-accidental-backup-restore.html
我们有意外的备份恢复。我们的托管服务提供商,而不是让我们回到我们的电子邮件客户端恢复整个系统从3月7日 - 他们说,我们的电子邮件客户端卸载(即,为什么你的线程消失第一)。当我们发现他们做了什么,我们要求立即恢复从最新的备份系统。这就是为什么你的线程回来再(而不是只有你),但消息书面昨天/今天可以了(所以备份后写入的消息)。这就是为什么你最后发表的文章了。
我明白为什么你能得到错误的印象,你不支持,但它只是我们的托管服务提供商方面的错误,你的线程是在这里。我们愿继续以快速的支持,作为您的付款会回到我们。在这一刻你的Paypal付款,所以我们必须持有相关许可证的任何行动。快速pyment将回去卡米尔将开始再次支持你。我们supprot是为我们的客户和我们的用户是免费的。在此omment,你不是我们的客户(付款举行),你不能无牌付费版本的用户。
另外请注意,您的问题,因为修改你自己 - 这是不是你写信给PayPal错误在我们的安装说明。我们的安装说明的vBulletin结构。您不必,因为你做自己的修改,所以它是很明显,你必须修改安装说明,以适应您的变更。
你可以指望我们的免费技术支持,本次论坛上,或者,如果你认为它是更大的问题(因为你的修改),你是不是能够做自己 - 你也可以使用我们的付费安装服务查看:http://www。 vbenterprisetranslator.com /安装service.php - 请注意,即使在这种情况下,它可以花费更长的时间,正常安装,因为你需要特殊的变化,因为你所做的修改。最有可能将htaccess规则的水平,但它也可以要求其他的论坛文件夹的配置,或在我们的SEO文件稍加修改 - 一样,只是不能告诉 - 卡米尔是一个人照顾你的情况。
我已收回PayPal的纠纷。等待了3天,然后看到我的线程消失的是很烦人的,但它听起来像我偷步。我的道歉
我有一个“百度推广结构”。在我先前的岗位之一的“开箱即用”的vBulletin安装的区别是在充分,确实的原因,我发起的主题。
kamilkurczak
09-03-11, 18:05
OK,我注意到,百度推广有不同的规则,所以请尝试这个。htaccess文件(vBET改变规则)
# 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\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
RewriteRule ^forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
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)/$ forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ [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)/(.*)?$ forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 [L,QSA]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
RewriteRule ^forums/((archive/)?(.*\.php(/.*)?))$ forums/vbenterprisetranslator_seo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ forums/vbenterprisetranslator_seo.php [L,QSA]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^forums/((archive/)?(.*\.php(/.*)?))$ forums/vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ forums/vbseo.php [L,QSA]
好了。没有404,但页面是空白的,当我点击一个标志(任何标志)。你要知道我的vbet设置任何吗?
kamilkurczak
09-03-11, 18:40
OK,你必须配置您的服务器,请检查这个职位:
http://www.vbenterprisetranslator.com/forum/vbet4-troubleshooting/413-faq.html#post1535
所以在你的PHP安装卷曲和iconv
卷曲和iconv支持,已启用。我得到一个404,现在当点击一个标志。
iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.5
Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1
curl
cURL support enabled
cURL Information libcurl/7.21.0 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
这里是我的htaccess文件:
# 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\.xxxx\.com
RewriteCond %{HTTP_HOST} !(^www\.xxxx\.com$|^cdn\.xxxx\.com$)
RewriteRule (.*) http://www.xxxx/$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 ^/?(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=/forum/ [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)/(.*)?$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$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 xxxx/index.php
#rewrite engine on
RewriteCond %{THE_REQUEST} index\.php
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^index\.php$ / [L,R=301]
kamilkurczak
09-03-11, 19:11
为什么你有一个vBET禁用?
也写在这里您admincp> vBET - >主要设置
我只激活它,当我实际测试,否则我的成员可能会开始点击标志和空白屏幕。
vbet设置:
论坛语言:英语
论坛目录:/论坛
论坛的主要域:未设置
链接类型:VBSEO_URI
配置类型:你想要的翻译链接创建URL的搜索引擎优化链接的共识(即“/ EN /地址')
kamilkurczak
09-03-11, 19:26
我只激活它,当我实际测试,否则我的成员可能会开始点击标志和空白屏幕。
让你有空白页或404?
如果空白页 - 卷曲和iconv,如果安装的话 - 请尝试在错误日志文件中找到一些PHP错误
这里的东西:
如果我输入
http://www.xxxx.com/de/ 在德国,我得到我的论坛的主要页面。该URL应该打开我的CMS
kamilkurczak
09-03-11, 19:40
我可以看到..所以这个问题是在。htaccess。我会analize的。
试试这个:
# 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 ^/?(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 ^/?(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]
kamilkurczak
09-03-11, 21:03
请检查这一项:
# 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=/forum/ [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=/forum/$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]
如果仍然无法正常工作 - 这种形式取代这一行:
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]
kamilkurczak
09-03-11, 22:26
有你有一个很好的htaccess来翻译主页:
# 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]
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]
许多感谢你让这对我来说工作的工作。大加赞赏。我有一件事情,这是不工作的最佳虽然,但我会打开一个新的线程。
再次感谢:)
kamilkurczak
10-03-11, 10:05
所以如果vBET工程 - 解决。现在我们需要解决的一个问题,坏链接:)
Automatic Translations (Powered by Google, Microsoft®,
Yandex, SDL Language Cloud, IBM Watson and Apertium):
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.