PDA

View Full Version: Solved Daima imetuma kurudi nyumbani ....



Trixi.com
04-03-10, 01:16
Hi,

kwanza: Great kipande cha programu ... mimi kulipwa mende 90 na ilikuwa furaha ...

Mimi imewekwa na anaendesha kubwa kwa muda mrefu kama mimi kuwa na chaguo "Add lugha parameter kwa URL (yaani 'anwani lugha? = En')
Kujenga URL kulingana na makubaliano SEO link (yaani '/ sw / anwani') ".

Lakini haraka kama mimi kubadili "Unda URL kulingana na makubaliano SEO link (yaani '/ sw / anwani')" mimi na baadhi ya matatizo ....

Angalia ukurasa huu:

pedi / cabfo / rum.com / forums / de / forum.php

Tafadhali delete / katika pedicab neno ....

Haraka kama mimi click thread yoyote unaendelea nyuma Home lugha ya Kiingereza ....


Mmmmmh ....

Mimi aliongeza mizizi / vikao, defined bwana lugha ya Kiingereza na aliongeza kwa htaccess:

RewriteEngine On



# KANUNI kwa viungo tafsiri SEO bila injini SEO (juu mbichi vBulletin viungo)
# Kama ni kutumia Vb 'Mod Rewrite Friendly URL' kisha kuweka sheria hizo tu kabla ya sheria Vb
RewriteRule archive / index.php /? $ 2 & lugha = $ 1 [L, QSA]
RewriteRule Lugha index.php? = $ 1 [L, QSA]
RewriteRule 2 $ lugha? = $ 1 [QSA]

Tetesi nini inaweza kuwa mbaya?

Asante

Gerald

Trixi.com
04-03-10, 02:32
Mwisho: Mimi daima kupata Error 404 kwa kutumia "Unda URL kulingana na makubaliano SEO link (yaani '/ sw / anwani')"....

Hivyo mimi switched nyuma Add lugha parameter kwa URL (yaani 'anwani lugha? = En') ambayo inafanya kazi kwa wakati ...

Itakuwa kubwa kama inaweza kusaidia kupata kazi

TX

vBET
05-03-10, 00:40
Hi.

Kama mimi kuona ni kazi sasa - tafadhali kuthibitisha Kama mimi kukosa kitu:)

Jambo muhimu - hawakuwa kuweka 'mkali' kwa chaguo "Kuhimiza utekelezaji wa URL kisheria" - ni required, vinginevyo utakuwa huru SEO yako. Tafadhali angalia readme.html kutoka mfuko vBET na konde maelekezo Vb Configuration.

Trixi.com
05-03-10, 09:10
Hi Mikali,

Asante - I switched na "Kuhimiza utekelezaji wa URL kisheria" sasa.

Ni kazi, lakini tatizo bado lipo ...

Configuration yangu sasa hivi:
ILIYO URL Advanced Friendly
ILIYO URL Create kulingana na makubaliano SEO link (yaani '/ sw / anwani')
. Htaccess kama hapo juu / kama katika ReadMe.

Ni kazi ya kwenda kwa mfano kwa tafsiri ya Ujerumani - I post slash katika Url kama mimi si kuruhusiwa baada ya ... URL

p/edicabforum.com/forums/de/forumdisplay.php/32-Introduce-Yourself

Everythin OK

_____________________________________________

Tatizo:
Haraka kama mimi kubadili
Mod Rewrite Friendly URLs

Url juu ni sasa
p/edicabforum.com/forums/de/32-Introduce-Yourself

na mimi kupata Makosa 404.
_____________________________________________

... Hivyo tatizo kutatuliwa ... kazi vizuri katika hali ya kirafiki Advanced URLs, lakini si kwa Mod Rewrite URL Friendly
_____________________________________________
. Htaccess katika wangu ni tu code yako:

RewriteEngine On



# KANUNI kwa viungo tafsiri SEO bila injini SEO (juu mbichi vBulletin viungo)
# Kama ni kutumia Vb 'Mod Rewrite Friendly URL' kisha kuweka sheria hizo tu kabla ya sheria Vb
RewriteRule archive / index.php /? $ 2 & lugha = $ 1 [L, QSA]
RewriteRule Lugha index.php? = $ 1 [L, QSA]
RewriteRule 2 $ lugha? = $ 1 [QSA]
_____________________________________________

Nilijaribu pia na mchanganyiko kutoka Vb-htaccess na kanuni yako, lakini mimi kupata 500 - Internal Server Error

RewriteEngine juu ya

# Kama una matatizo au ni kutumia VirtualDocumentRoot, uncomment line hii na kuweka kwa vBulletin saraka yako.
# RewriteBase / forum /

RewriteCond% {REQUEST_FILENAME}-s [AU]
RewriteCond% {REQUEST_FILENAME}-l [AU]
RewriteCond% {REQUEST_FILENAME}-d

RewriteRule ^ .* $ - [NC, L]

# Forum
RewriteRule archive / index.php /? $ 2 & lugha = $ 1 [L, QSA]
RewriteRule Lugha index.php? = $ 1 [L, QSA]
RewriteRule 2 $ lugha? = $ 1 [QSA]

RewriteRule ^ threads / showthread.php .* [QSA]
RewriteRule ^ vikao / .* forumdisplay.php [QSA]
RewriteRule ^ wanachama / member.php .* [QSA]
RewriteRule ^ blogs / .* blog.php [QSA]
ReWriteRule ^ entries / .* entry.php [QSA]

RewriteCond% {REQUEST_FILENAME}-s [AU]
RewriteCond% {REQUEST_FILENAME}-l [AU]
RewriteCond% {REQUEST_FILENAME}-d

RewriteRule ^ .* $ - [NC, L]

# MVC
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $ 1.php r? = $ 2 [QSA]

_____________________________________________

Kama mimi kutumia tu Vb-Code ambayo huja na pakiti Installation katika si upload Directory

RewriteEngine juu ya

# Kama una matatizo au ni kutumia VirtualDocumentRoot, uncomment line hii na kuweka kwa vBulletin saraka yako.
# RewriteBase / forum /

RewriteCond% {REQUEST_FILENAME}-s [AU]
RewriteCond% {REQUEST_FILENAME}-l [AU]
RewriteCond% {REQUEST_FILENAME}-d

RewriteRule ^ .* $ - [NC, L]

RewriteRule ^ threads / showthread.php .* [QSA]
RewriteRule ^ vikao / .* forumdisplay.php [QSA]
RewriteRule ^ wanachama / member.php .* [QSA]
RewriteRule ^ blogs / .* blog.php [QSA]
ReWriteRule ^ entries / .* entry.php [QSA]

RewriteCond% {REQUEST_FILENAME}-s [AU]
RewriteCond% {REQUEST_FILENAME}-l [AU]
RewriteCond% {REQUEST_FILENAME}-d

RewriteRule ^ .* $ - [NC, L]

# MVC
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $ 1.php r? = $ 2 [QSA]




URL ni kubadilishwa kwa

p/edicabforum.com/forums/forums/32-Introduce-Yourself

Kama unaweza kuona: Iliongeza vikao mara nyingine tena ... na mimi kupata "Forum batili maalum."

Basi, mimi nadhani kwamba tatizo ni htaccess na sheria .... yangu ni Vb (vBulletin 4.0.2 Patch Level 1 ).... nadhani kwanza nina kurekebisha tatizo hili kwa Vb na kisha kujaribu tena .. ..

Saludos

Gerald

vBET
08-03-10, 16:46
Kama ni kazi na moja ya kirafiki ya kuweka URL hiyo ni habari njema - huna masuala vBET:.) Basi - wakati mabadiliko ya URL Friendly kwa Mod rewrite una makosa - ina maana ya suala hilo ni katika htaccess faili kama wewe mtuhumiwa.

Kwanza - tafadhali kuhakikisha kwamba wako htaccess faili ni sawa URL kawaida (si kutafsiriwa).. Hivyo kuweka kuna sheria zinazohitajika na Vb na mtihani. Baada ya kuweka sheria vBET kabla sheria Vb. Hii ni jinsi gani inaonekana htaccess faili kwenye jukwaa mtihani wetu vB4.:


RewriteEngine On
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|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/archive/index.php/(.*)?$ archive/index.php?/$2&language=$1 [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)/$ index.php?language=$1 [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 [QSA]

#vB FRIENDLY URL RULES
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA]
ReWriteRule ^entries/.* entry.php [QSA]

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations supported by vBET 4.10.1