重要:此頁面會使用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

    請,請 PM。

    你做不好的。htaccess。
    粘貼 vBET規則在最終的文件!這是不好的 - 請做一個 htaccess文件後想從我的previoust

  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

    感謝。我已禁用“保持非英文字符的網址”為現在和將開展的步驟中提到的地圖。我要讓你知道是怎麼回事了。

    期待聽到你。

  8. #8
    高級會員
    註冊日期
    2011年2月
    帖子
    138

    Default

    嗯,不錯。是的,我複製了部分來自法國 Wiki和粘貼它。

    然而,當我選擇我的論壇語言為德語,然後張貼在德國,人物仍然顯示為 HTML數字,當我編輯這個職位或點擊箭頭在翻譯後 ....?

  9. #9
    vBulletin企業翻譯(vBET)員工
    註冊日期
    2010年5月
    帖子
    1,000

    Default

    是的,你是對的。看我的兩個職位 - 一個是做的最前一頁從沒有翻譯頁面(英文) - 沒有問題,當您想編輯。

    第二個是由翻譯(波蘭)頁面,這裡是一個問題 - 字母與 ASCII代碼在256 - 錯誤的編碼 - 我報告這個錯誤到vBulletin,我會嘗試修復它。

  10. #10
    vBulletin企業翻譯(vBET)員工
    註冊日期
    2010年5月
    帖子
    1,000

    Default

    我的工作就可以與百度推廣團隊:
    論壇 ASCII字符問題

    現在我們有一個週末。如果你能確定這個主題後,我們開始週末?

    在週末,我將與百度推廣隊伍。
    最後編輯者 kamilkurczak; 11-03-1113:25.

12 12 最後Last

標籤這個主題

發帖權限

  • 可能不會 發表新主題
  • 可能不會 發表回复
  • 可能不會 上傳附件
  • 可能不會 編輯您的文章
  •