Back to Question Center
0

Ta amfani da 301 Tsayar da sabon shafin lokacin da damar shiga shafin tsofaffi ya ƙaryata?

1 answers:

Ina da halin da ake ciki a inda ina tsaye sabon shafin yanar gizon yanar gizo. An dakatar da ni zuwa ga tsohon shafin ta hanyar kamfanin haɗin gwiwar kuma tsofaffin ɗakin yanar gizo za a iya kashe su nan da nan.

Idan sabon shafin na ya ƙunshi shafukan da aka ambaci sunayensu daban-daban na daban yadda nake tafiya game da kafa saitattun abubuwa 301 a kan sabon shafin?

Alal misali:

 
www. oldsite. com \ aboutus \
www. newsite - unmetered vps windows server. com game. htmlwww. newsite. com \ productx. html
www. oldsite. com \ productx \ 

Shirya: Bayyanawa:

Tsohon sunan yankin yana bambanta da sabon sunan yankin.

A kan labarun da zan yi kawai na zayyana kowane shafin da ya kasance a tsohuwar shafin kuma sanya gurzacciyar lambar a cikin waɗannan shafuka? Mene ne ma'anar lambar zartarwa?

February 13, 2018

Yana da amfani mara amfani don saka kowane abu a kan sabon shafin a cikin halin yanzu. Bincike ƙananan bincike, et. al. ke zuwa tsohon shafin (www. misali-tsufa. com). Kuna son shirya shi zuwa sabon shafin (www. misali. com). Hanya guda da za a iya juya madaidaiciya ta 301 zai yiwu a karkashin waɗannan ka'idodi daga www. misali-tsufa. com don idan dai yana sama da gudu.

Hanyar hanyar da za ka iya canja wannan ita ce idan ka mallaki tsofaffin sunan yankin kuma shiga cikin mai kula da yanki na yankin da kuma shirya saitin DNS don nuna alamar yanar gizo na www.misali-tsufa. com to your new website www. misali. com.

Da zarar ka yi haka domin zirga-zirgar daga tsohuwar shafin yana buga sabon sabarka, to, za ka iya ƙirƙirar adireshin URL wanda zai fassara tsohuwar adireshin URL zuwa sabon shafin yanar gizo tare da wata doka a. htaccess.

Game da abubuwan da ke cikin yanar gizo, idan yana da nau'in abun ciki da ke gudana a kan wannan software, kawai a kwafa da rubutu daga ɗaya zuwa wancan. Dole ne ku canza kowane al'ada. lambar htaccess da duk wani abu da ya kasance uwar garken musamman ga tsohon tsarin don yin tuntuɓar canjin sunan yankin.

Idan na fahimta daidai, kuna buƙatar rubutun sake rubutawa kawai don sabon shafin domin kuna da sunayen daban.

Idan haka ne, tsarin rewrite zai kasance kamar wannan:

sake rubutawa ^ (. *). html $ $ 1 / [nc]

Gyara dukkan fayilolin da ke ƙarewa tare da html zuwa sunan suna kamar sunan shugabanci