Qhov kev xa tawm yog qhov hloov kho tsis siv neeg ntawm cov neeg siv ntawm ib qho URL mus rau lwm tus. Technically, txoj kev rov qab tuaj yeem ua qhov sib txawv. Nws tuaj yeem ua haujlwm ob qho tib si server-sab thiab sab-sab (hauv qhov browser).
Kev pauv mus ntxiv yog lub tswvyim los ntawm kev siv Internet thev naus laus zis. Ib daim ntawv qhia pauv yog txoj kev hloov kho tsis siv neeg ntawm ib tus neeg siv ntawm lub vev xaib mus rau lwm qhov. Nws ua haujlwm raws li hauv qab no: piv txwv li, ib tug neeg siv hom chaw nyob "site.ru" hauv qhov chaw nyob ntawm nws lub browser, tab sis tom qab tsis siv neeg hloov nws tau mus rau qhov chaw nrog qhov chaw nyob "www.new-site.ru".
Txoj kev pauv hloov yog dab tsi?
Qhov xwm txheej tshwm sim feem ntau yog hloov cov npe ntawm lub xaib. Qhov xav tau ntawm kev hloov pauv feem ntau tshwm sim nyob rau hauv rooj plaub ntawm cov chaw lag luam, yog li kom tsis txhob poob cov neeg siv uas tau tuaj rau ntawm qhov chaw nyob ntawm qhov chaw nyob qub. Qhov no feem ntau cuam tshuam rau cov khw hauv online uas tau hloov mus rau lwm tus sau, tab sis cov neeg muas zaub tseem tuaj xyuas lub khw nplooj ntawm qhov chaw nyob uas tsis muaj.
Qhov ob txoj kev siv ntawm kev xa khoom tsis siv neeg yog kev sau npe lub npe splicing. Qhov URL chaw nyob ntawm ib qho peev txheej Is Taws Nem tuaj yeem nkag mus rau hauv qhov chaw nyob bar hauv tag nrho, uas yog, nrog www - "www.site.ru" thiab tsis muaj www - "site.ru". Txawm li cas los xij, cov tshawb nrhiav pom pom ob qhov chaw nyob no tsim ua ob qhov chaw sib txawv kiag li. Yog li no, hauv cov teeb tsa server, koj yuav tsum qhia ib qho ntawm cov chaw nyob yog qhov tseem ceeb (daim tsom iav loj), thiab rov mus rau daim iav tseem ceeb ntawm qhov chaw nyob thib ob. Tom qab ntawd, muaj qee kis, cov qhua yuav tau mus rau cov khoom uas lawv xav tau, thiab tshawb cov neeg hlau yuav txheeb xyuas qhov tsom iav tseem ceeb.
Sau lub npe splicing tuaj yeem ua txoj hauv kev sib txawv. Lwm txoj hauv kev los tsim cov ntawv sau rov qab yog teeb tsa lub tsom iav tseem ceeb hauv koj tus kheej Yandex-webmaster tus account. Ua li no, koj yuav tsum xub tsim ib tus account hauv Yandex-Webmaster system thiab ntxiv rau koj lub xaib muaj. Tab sis txhawm rau kev tshawb nrhiav xyaw Yahoo thiab Google kom raug txheeb xyuas qhov tseeb ntawm daim iav tseem ceeb, yuav tsum muaj 301 qhov hloov pauv, uas tau tsim hauv htaccess. Cov ntaub ntawv no yog khaws tseg rau tus neeg rau zaub mov hauv cov hauv paus hauv paus hauv tsev xaib.
301 redirect yog dab tsi?
Tus lej 301 yog qhov xwm txheej txheej txheem ntawm cov kev hloov pauv tshwm sim ntawm qib server. Tus lej no qhia tias cov khoom siv lossis nws cov nplooj ntawv cais yuav nyob ruaj khov ntawm qhov chaw nyob sib txawv. Nws yuav tsum raug sau tseg tias xwm txheej 302 siv rau kev rhais chaw ib ntus.
Feem ntau, 301 redirects yog siv los rau kua nplaum sau nrog thiab tsis muaj www. Nws tseem tsis tuaj yeem zam nyob rau hauv rooj plaub uas lub vev xaib hloov mus rau thaj chaw tshiab. Ntxiv rau, nws yog siv thaum hloov chaw sab hauv ntawm lub xaib.