2013-05-13 41 views
1

我有一長串重定向,大約1300個。沿着這1300個301重定向的某處出現了一些問題。每當我上傳我的.htaccess文件時,我都會在我的網站上獲得500個代碼。網站在發佈301重定向後顯示500代碼錯誤

我不知道如何顯示你們的代碼,因爲我不允許發佈30多個字符。

任何幫助或想法深表謝意。

redirect 301 /wp/baddsoffa-trento/ http://www.living.se/ 
redirect 301 /wp/golvlampa-bono/ http://www.living.se/ 
redirect 301 /wp/golvlampa-brooklyn/ http://www.living.se/ 
redirect 301 /wp/atlanta-hornsoffa-2/ http://www.living.se/ 
redirect 301 /wp/hornsoffa-london-2h25/ http://www.living.se/ 
redirect 301 /wp/kandelaber-multi/ http://www.living.se/ 
redirect 301 /wp/kladhangare-knax-2-2/ http://www.living.se/ 
redirect 301 /wp/knax-imperial/ http://www.living.se/ 
redirect 301 /wp/fatolj-fotpall-conto/ http://www.living.se/ 
redirect 301 /wp/ullmatta-glaze/ http://www.living.se/ 
redirect 301 /wp/spegel-rennes/ http://www.living.se/ 
redirect 301 /wp/ullmatta_chocolate/ http://www.living.se/ 
redirect 301 /wp/fatolj-anelo/ ‹http://www.living.se/ 
redirect 301 /wp/spegel-rochelle/ http://www.living.se/ 
redirect 301 /wp/goa-coffetable-distress-saj-1059d/ http://www.living.se/ 
redirect 301 /wp/soffbord-egg/ http://www.living.se/ 
redirect 301 /wp/spegel-nante/ http://www.living.se/ 
redirect 301 /wp/amadeus-lounge-chair-2/ http://www.living.se/ 
redirect 301 /wp/byra-nancy/http://www.living.se/ 
redirect 301 /wp/matbord-wasa/ http://www.living.se/ 
redirect 301 /tokyo-3-sits-soffa/ http://www.living.se/ 
redirect 301 /wp/liggstol-movie/ http://www.living.se/ 
redirect 301 /wp/living-fyller-15-ar-3/ http://www.living.se/ 
redirect 301 /matbord-ascona-2/ http://www.living.se/ 
redirect 301 /?variations=beige http://www.living.se/ 
redirect 301 /vaggklocka-london-vintage/ http://www.living.se/ 
redirect 301 /startsida/ http://www.living.se/ 
redirect 301 /sortiment/soffor.html http://www.living.se/mobler-i-malmo/soffor/ 
redirect 301 /stol-zipper/ http://www.living.se/mobler-i-malmo/stolar/ 
redirect 301 /sangbord-striped/ http://www.living.se/mobler-i-malmo/sovrum/ 
redirect 301 /pappelina-siri/ http://www.living.se/ 
redirect 301 /wp/galge-zitti-svart-2/ http://www.living.se/mobler-i-malmo/accessories/ 
redirect 301 /wp/mobelvard-textilkit/ http://www.living.se/mobler-i-malmo/mobelvard/ 
redirect 301 /wp/matbord-salto/ http://www.living.se/mobler-i-malmo/matbord/ 
redirect 301 /wp/fatolj-therese/ http://www.living.se/mobler-i-malmo/fatoljer/ 
redirect 301 /wp/vintage-lykta-40/ http://www.living.se/mobler-i-malmo/belysning/ 
redirect 301 /plad-chenille-text/ http://www.living.se/mobler-i-malmo/kuddar-pladar/ 
redirect 301 /wp/visible-mocca-ryamatta/ http://www.living.se/mobler-i-malmo/mattor/ 
redirect 301 /plastmatta-pappelina-owen/page/2/ http://www.living.se/mobler-i-malmo/mattor/ 
redirect 301 /etikett/svartmalad/ http://www.living.se/ 
redirect 301 /wp/tag/playsam/ http://www.living.se/ 
redirect 301 /wp/hallbank-point/ http://www.living.se/mobler-i-malmo/hallmobler/ 
redirect 301 /wp/bohuslan/ http://www.living.se/ 
redirect 301 /golvlampa-rebell/ http://www.living.se/mobler-i-malmo/belysning/ 
redirect 301 /wp/soffa-lazy/ http://www.living.se/mobler-i-malmo/soffor/ 
redirect 301 /wp/vagghangd-ljusstake/ http://www.living.se/mobler-i-malmo/accessories/ 
redirect 301 /wp/soffbord-java/ http://www.living.se/mobler-i-malmo/soffbord/ 
redirect 301 /wp/limhamn-60/ http://www.living.se/ 
redirect 301 /wp/byra-harlequin/ http://www.living.se/mobler-i-malmo/forvaring/ 
redirect 301 /etikett/kontorsstol/ http://www.living.se/mobler-i-malmo/stolar/ 
redirect 301 /wp/kategori/soffbord/ http://www.living.se/mobler-i-malmo/soffbord/ 
redirect 301 /wp/kategori/india_collection/ http://www.living.se/ 
redirect 301 /wp/tray-soffbord-2/ http://www.living.se/mobler-i-malmo/soffbord/ 
redirect 301 /wp/kategori/ovrigt/ http://www.living.se/ 
redirect 301 /wp/tradgardsset-capri/ http://www.living.se/ 
redirect 301 /wp/soffbord-kampanj/ http://www.living.se/ 
redirect 301 /wp/snurrfatolj-living/ http://www.living.se/mobler-i-malmo/fatoljer/ 
redirect 301 /wp/fatolj-cayenne/ http://www.living.se/mobler-i-malmo/fatoljer/ 
redirect 301 /wp/kategori/rea/ http://www.living.se/mobler-i-malmo/rea/ 
redirect 301 /wp/sittpuff/ http://www.living.se/mobler-i-malmo/fatoljer/ 
redirect 301 /wp/soffa-time-3a-2/ http://www.living.se/mobler-i-malmo/soffor/ 
redirect 301 /wp/fatolj-chester/ http://www.living.se/mobler-i-malmo/fatoljer/ 
redirect 301 /etikett/laminat/ http://www.living.se/ 
redirect 301 /wp/matbord-zata/ http://www.living.se/mobler-i-malmo/matbord/ 
redirect 301 /wp/matbord-matrix/ http://www.living.se/mobler-i-malmo/matbord/ 
redirect 301 /wp/trappstol-zitti-svart/ http://www.living.se/mobler-i-malmo/stolar/ 
redirect 301 /wp/sommarmobel-santorini-2/ http://www.living.se/mobler-i-malmo/outdoor/ 
redirect 301 /wp/black-jack-soffa/ http://www.living.se/mobler-i-malmo/soffor/ 
redirect 301 /wp/tag/liniedesign/ http://www.living.se/ 
redirect 301 /wp/sangbord-striped/ http://www.living.se/mobler-i-malmo/sovrum/ 
redirect 301 /wp/fatolj-manchester-2/ http://www.living.se/mobler-i-malmo/fatoljer/ 
redirect 301 /wp/byra-cubio/ http://www.living.se/mobler-i-malmo/forvaring/ 
redirect 301 /wp/stol-athen/ http://www.living.se/mobler-i-malmo/stolar/ 
redirect 301 /wp/tag/lykta/ http://www.living.se/mobler-i-malmo/belysning/ 
redirect 301 /wp/sidobord-marina/ http://www.living.se/ 
redirect 301 /wp/arctic-tv-bank-2/ http://www.living.se/mobler-i-malmo/tv-mediabankar/ 
redirect 301 /wp/stol-hovdala-2/ http://www.living.se/mobler-i-malmo/matbord/ 
redirect 301 /wp/tag/hylla/ http://www.living.se/mobler-i-malmo/hallmobler/ 
redirect 301 /wp/lampbord-cabana/ http://www.living.se/ 
redirect 301 /wp/stol-bella/ http://www.living.se/mobler-i-malmo/stolar/ 
redirect 301 /knax-turquoise/ http://www.living.se/ 
redirect 301 /wp/soffa-chelsea/ http://www.living.se/mobler-i-malmo/soffor/ 
redirect 301 /wp/tv-bank-azzaro-2/ http://www.living.se/mobler-i-malmo/tv-mediabankar/ 
redirect 301 /wp/kladhangare-knax-3/ http://www.living.se/mobler-i-malmo/accessories/ 
redirect 301 /etikett/hallbank/ http://www.living.se/mobler-i-malmo/hallmobler/ 
redirect 301 /wp/dekorations-tofs/ http://www.living.se/ 
redirect 301 /wp/tag/nero/ http://www.living.se/ 
redirect 301 /wp/visible-silver-ryamatta/ http://www.living.se/mobler-i-malmo/mator/ 
redirect 301 /fatolj-bern/ http://www.living.se/mobler-i-malmo/fatoljer/ 
redirect 301 /wp/lyx-kakfat/ http://www.living.se/ 
redirect 301 /etikett/byra/ http://www.living.se/mobler-i-malmo/forvaring/ 
redirect 301 /wp/knax-summer/ http://www.living.se/mobler-i-malmo/matbord/ 
redirect 301 /kladhangare-zitti-svart/page/2/ http://www.living.se/mobler-i-malmo/accessories/ 
redirect 301 /wp/skohylla-zitti-3/ http://www.living.se/mobler-i-malmo/hallmobler/ 
redirect 301 /wp/matbord-saturn/ http://www.living.se/mobler-i-malmo/matbord/ 
redirect 301 /wp/arctic-byra/ http://www.living.se/mobler-i-malmo/forvaring/ 
redirect 301 /wp/lounge-soffa-3-divan/ http://www.living.se/mobler-i-malmo/soffor/ 
redirect 301 /etikett/divan/ http://www.living.se/mobler-i-malmo/soffor/ 
redirect 301 /wp/matbord-bono-atlantic/ http://www.living.se/mobler-i-malmo/matbord/ 
redirect 301 /wp/soffa-largo-2/ http://www.living.se/mobler-i-malmo/soffor/ 
redirect 301 /etikett/glas/ http://www.living.se/mobler-i-malmo/accessories/ 
redirect 301 /wp/tag/matbord-2/ http://www.living.se/mobler-i-malmo/matbord/ 
redirect 301 /plad/comment-page-1/ http://www.living.se/mobler-i-malmo/kuddar-pladar/ 
redirect 301 /wp/tag/betong/ http://www.living.se/ 
redirect 301 /arctic-grey-matta/ http://www.living.se/mobler-i-malmo/mattor/ 
redirect 301 /etikett/pilasterhylla/ http://www.living.se/mobler-i-malmo/hallmobler/ 
redirect 301 /wp/tag/hjellegjerde/ http://www.living.se/mobler-i-malmo/matbord/ 

redirect 301 /pappelina-alve/feed/ http://www.living.se/ 
redirect 301 /citybike-tavla/ http://www.living.se/ 
redirect 301 /fatolj-havanna/feed/ http://www.living.se/ 
redirect 301 /slagbord-viggso/page/2/ http://www.living.se/ 
redirect 301 /mediabank-base-135/feed/ http://www.living.se/ 
redirect 301 /vitrinskap-azzaro-3/feed/ http://www.living.se/ 
redirect 301 /mobler-i-malmo/outdoor/capri-delux-tradgardsstol-2/ http://www.living.se/ 
redirect 301 /wp/knax-turquoise/ http://www.living.se/ 
redirect 301 /weeb_slides/apollo-baddsoffa-nu-pa-lager/ http://www.living.se/ 
redirect 301 /grapatinerade-ljusstakar-i-tra/ http://www.living.se/ 
redirect 301 /etikett/anilinlader/ http://www.living.se/ 
redirect 301 /wp/tag/vintage/ http://www.living.se/ 
redirect 301 /etikett/kista/ http://www.living.se/ 
redirect 301 /wall-smal-bokhylla/ http://www.living.se/ 
redirect 301 /wp/kladhangare-zitti-2/ http://www.living.se/ 
redirect 301 /wp/farskinn-massor-av-farger/ http://www.living.se/ 
redirect 301 /wp/bordslampa-diva/ http://www.living.se/ 
redirect 301 /wp/heaven-2-sits-soffa/ http://www.living.se/ 
redirect 301 /wp/dorrmatta/ http://www.living.se/ 
redirect 301 /ullmatta-glaze/page/2/ http://www.living.se/ 
redirect 301 /pappelina-lilo/page/2/ http://www.living.se/ 
redirect 301 /wp/tag/hogblank/ http://www.living.se/ 
redirect 301 /wp/arctic-bedside/ http://www.living.se/ 
redirect 301 /wp/stol-birka/ http://www.living.se/ 
redirect 301 /wp/kub-2-lador-sa-3112/ http://www.living.se/ 
redirect 301 /wp/stol-oregon/ http://www.living.se/ 
redirect 301 /etikett/ekfaner/ http://www.living.se/ 
redirect 301 /wp/kladhangare-zitti/ http://www.living.se/ 
redirect 301 /wp/sa-3117/ http://www.living.se/ 
redirect 301 /soffa-largo/feed/ http://www.living.se/ 
redirect 301 /ullmatta-cos/page/2/ http://www.living.se/ 
redirect 301 /wp/alla-soffor-och-fatoljer/ http://www.living.se/ 
redirect 301 /arctic-white-matta/feed/ http://www.living.se/ 
redirect 301 /wall-smal-bokhylla/feed/ http://www.living.se/ 
redirect 301 /goa-louvre-sideboard-sa-6012/feed/ http://www.living.se/ 
redirect 301 /soffbord/lampbord-multe/ http://www.living.se/ 
redirect 301 /nyheter/funktionsfatolj-tampa/ http://www.living.se/ 
redirect 301 /soffbord-marocko/feed/ http://www.living.se/ 
redirect 301 /goa-reclaimed-trunk-sa-6006/feed/ http://www.living.se/ 
redirect 301 /pappelina-alve/page/2/ http://www.living.se/ 
redirect 301 /fatboy-marimekko/feed/ http://www.living.se/ 
redirect 301 /etikett/troels/ http://www.living.se/ 
redirect 301 /tavla-beatiful-flower/feed/ http://www.living.se/ 
redirect 301 /mobler-i-malmo/soffbord/louvre-reclaimed-trunk-sa-6006/ http://www.living.se/ 
redirect 301 /tavla-beatiful-moment/feed/ http://www.living.se/ 
redirect 301 /wall-bred-bokhylla/feed/ http://www.living.se/ 
redirect 301 /goa-soffbord-yo-236/feed/ http://www.living.se/ 
redirect 301 /fotpall-apollo/feed/ http://www.living.se/ 
redirect 301 /goa-louvre-plasma-cabinet-sa-6013/feed/ http://www.living.se/ 
redirect 301 /plenty-multi-matta/feed/ http://www.living.se/ 
redirect 301 /soffbord-limhan-90/feed/ http://www.living.se/ 
redirect 301 /mobler-i-malmo/accessories/julhjarta-lilla/ http://www.living.se/ 
redirect 301 /tag/hall/feed/ http://www.living.se/ 
redirect 301 /puff/page/2/ http://www.living.se/ 
redirect 301 /reason-matbord/feed/ http://www.living.se/ 
redirect 301 /wp/sommarmobel-riva/ http://www.living.se/ 
redirect 301 /wp/soffbord-fleur/ http://www.living.se/ 
redirect 301 /wp/fatolj-palma/ http://www.living.se/ 
redirect 301 /mattor/plastmatta-pappelina-vera-one-5/ http://www.living.se/ 
redirect 301 /voice-10/feed/ http://www.living.se/ 
redirect 301 /plastmatta-pappelina-vera-one-5/page/2/ http://www.living.se/ 
redirect 301 /wp/divansoffa-malta/ http://www.living.se/ 
redirect 301 /etikett/forvaraing/ http://www.living.se/ 
redirect 301 /belysning/golvlampa-edison/ http://www.living.se/ 
redirect 301 /wp/soffa-madrid/ http://www.living.se/ 
redirect 301 /wp/tavlor/feed/ http://www.living.se/ 
redirect 301 /byra-saro/page/2/ http://www.living.se/ 
redirect 301 /soffor/desiree-divansoffa-hoger/ http://www.living.se/ 
redirect 301 /wp/nightstand-harlequin/feed/ http://www.living.se/ 
redirect 301 /buffe-tokyo-black/feed/ http://www.living.se/ 
redirect 301 /brickbord/feed/ http://www.living.se/ 
redirect 301 /wp/soffa-time-3a/ http://www.living.se/ 
redirect 301 /tradgardsmobel-capri-de-luxe/feed/ http://www.living.se/ 
redirect 301 /wp/tag/nero/feed/ http://www.living.se/ 
redirect 301 /wp/laderfatolj-lotus/ http://www.living.se/ 
redirect 301 /wp/forvaring-sa-3161/feed/ http://www.living.se/ 
redirect 301 /wp/kategori/living_collection/page/2/ http://www.living.se/ 
redirect 301 /soffbord-2-drawers/ http://www.living.se/ 
redirect 301 /soffor/bakhtiar-soffa-2/ http://www.living.se/ 
redirect 301 /accessories/julstjarna-110/ http://www.living.se/ 
redirect 301 /etikett/filt/ http://www.living.se/ 
redirect 301 /wp/tag/skrivbord/feed/ http://www.living.se/ 
redirect 301 /etikett/mediabank/ http://www.living.se/ 
redirect 301 /wp/kategori/nyheter/page/3/ http://www.living.se/ 
redirect 301 /arctic_azzaro/arctic-sliding-door/ http://www.living.se/ 
redirect 301 /wp/tag/skrivbord/ http://www.living.se/ 
redirect 301 /fatoljer/relax-liggfatolj-cerise/ http://www.living.se/ 
redirect 301 /wp/tag/vitlack/feed/ http://www.living.se/ 
redirect 301 /wp/tag/hall/ http://www.living.se/ 
redirect 301 /wp/armbandsur-kyboe/ http://www.living.se/ 
redirect 301 /wp/vintage-lykta-1768/feed/ http://www.living.se/ 
redirect 301 /wp/divansoffa-infinity/ http://www.living.se/ 
redirect 301 /wp/arctic-grey-matta/feed/ http://www.living.se/ 
redirect 301 /mobler-i-malmo/rea/bistro-stol-2-pack/ http://www.living.se/ 
redirect 301 /soffor/tresitssoffa-mexico/ http://www.living.se/ 
redirect 301 /knax-imperial/feed/ http://www.living.se/ 
redirect 301 /flash/sales.swf http://www.living.se/ 
redirect 301 /wp/tag/lykat/feed/ http://www.living.se/ 
redirect 301 /visible-mocca-ryamatta/feed/ http://www.living.se/ 
redirect 301 /stol-toulouse/feed/ http://www.living.se/ 
redirect 301 /etikett/matbord-2/ http://www.living.se/ 
redirect 301 /etikett/svart-ekfaner/ http://www.living.se/ 
redirect 301 /wp/vision-mediapanel/feed/ http://www.living.se/ 
redirect 301 /tavla-birds/feed/ http://www.living.se/ 
redirect 301 /wp/tag/ryamatta/ http://www.living.se/ 
redirect 301 /wp/tag/wall/ http://www.living.se/ 
redirect 301 /wp/tag/lykta/feed/ http://www.living.se/ 
redirect 301 /ovrigt/vintage-spegel/ http://www.living.se/ 
redirect 301 /soffa-4sits-colorado/feed/ http://www.living.se/ 
redirect 301 /mobler-i-malmo/hallmobler/havanna-sittbank-gron/ http://www.living.se/ 
redirect 301 /amadeus-lounge-chair/feed/ http://www.living.se/ 
+0

不要發佈整個htaccess,只是一個相關的片段。此外,試圖將其減少到相關片段可能已經揭示了什麼是錯誤的。隨着你給的信息,我們只能通過諮詢我們的水晶球猜... – 2013-05-13 11:23:46

+0

@GrimaceofDespair是的我後來想到了,我添加了一些代碼,我認爲問題應該在那裏,不知道 – Abel 2013-05-13 11:27:14

+0

你應該真的考慮使用重寫地圖來處理你正在做的事情,這會減少你引入語法錯誤的可能性,因爲你正在操縱需要重定向的頁面。 – 2013-05-13 11:35:42

回答

1

正如@jpganz回答。 500錯誤是內部服務器錯誤。在配置文件中可能有一個無效字符或其他語法錯誤,它被其大小隱藏,但如果您得到發生錯誤的行號,則應該很明顯。 看看他們可能幫助指出問題的日誌文件。

如果日誌文件不顯示任何有用的,你可以嘗試到零上與手動二分查找問題:

  • 一分爲二的配置。
  • 將前半部分加載到服務器中,並查看問題是否存在,如果不加載後半部分。
  • 沖洗並重復,直到找到錯誤。

可能有多個錯誤,因此您可能需要重複該過程。

+0

非常有幫助,謝謝.. – Abel 2013-05-13 11:41:59

+0

可能重複重定向導致500錯誤?說301重定向舊網址http://www.new-url.com/a和在同一時間點到頁面..我找到了一些亂碼這裏 – Abel 2013-05-13 11:54:45

+0

是的,它可以。服務器不知道要重定向哪個頁面。它取決於服務器,它是驗證配置還是隻使用第一個重定向。重定向循環(A→B→A)也可能是一個問題,但我不知道他們是否被檢查。您應該指定服務器的名稱並將其添加爲標籤以吸引更多有見識的響應。 – 2013-05-14 00:02:05

2

錯誤500的服務器端的錯誤,可能是一些關於你的代碼,語法或一些需要編譯(讀取)的服務器上,你應該保持和眼睛的應用服務器的日誌( apache,tomcat或其他你正在使用),並檢查發生了什麼...