Yuav Ua Li Cas Tshem Tawm Meta Npe Tshuab Hluav Taws Xob

Cov txheej txheem:

Yuav Ua Li Cas Tshem Tawm Meta Npe Tshuab Hluav Taws Xob
Yuav Ua Li Cas Tshem Tawm Meta Npe Tshuab Hluav Taws Xob

Video: Yuav Ua Li Cas Tshem Tawm Meta Npe Tshuab Hluav Taws Xob

Video: Yuav Ua Li Cas Tshem Tawm Meta Npe Tshuab Hluav Taws Xob
Video: Hluav taws xob tseem ceeb: Qhov yooj yooj yim txuag hluav taws xob 2024, Kaum ib hlis
Anonim

Lub taub hau ntu ntawm HTML lossis XHTML cov nplooj ntawv web tuaj yeem suav nrog META cov ntsiab lus uas muaj cov ntaub ntawv tsis txaus siab. Qhov no suav nrog ib qho khoom siv nrog lub npe cwj pwm uas tau tsim rau lub tshuab hluav taws xob. Cov ntsiab lus ntawm lub ntsiab lus ntaus nqi ntawm lub ntsiab lus no txhais tau tias txhais tau tias txhais tau los ntawm nplooj ntawv tsim tawm. Kom muaj kev ruaj ntseg, ntau cov webmasters nyiam xum tshem cov ntsiab lus no ntawm cov nplooj ntawv ntawm lawv lub xaib.

Yuav ua li cas tshem tawm meta npe tshuab hluav taws xob
Yuav ua li cas tshem tawm meta npe tshuab hluav taws xob

Nws yog qhov tsim nyog

  • - muaj kev nkag mus rau pawg thawj coj saib xyuas ntawm CMS;
  • - nkag mus rau tus xaib site ntawm FTP;
  • - cov ntawv nyeem cov ntawv sau uas muaj peev xwm khaws tau rau hauv kev sib sau ua ke.

Cov Lus Qhia

Kauj ruam 1

Lov tawm cov khoom tso tawm ntawm meta tag nrog cov khoom ntiag tug lub npe teeb tsa rau lub tshuab hluav taws xob hauv kev teeb tsa ntawm cov ntsiab lus tswj kev siv. Yog tias lub vev xaib ua haujlwm raws li CMS niaj hnub, tom qab ntawd txoj haujlwm no, feem ntau yuav raug kev xiam oob qhab los ntawm cov cuab yeej tswj hwm.

Nkag mus rau CMS tswj vaj huam sib luag nrog tus tswj hwm tus account lossis tus neeg siv nrog cov cai los hloov lub chaw. Mus rau hauv seem uas tsim nyog. Lov meta cov zis tso zis tawm.

Txoj hauv kev los tsim thiab hloov cov ntsiab lus ntawm HEAD lub ntsiab lus ntawm nplooj ntawv yog nyob ntawm hom CMS. Tej zaum nws yuav txaus kom lov tes taw ib qho ntawm cov kev xaiv los thaiv cov zis ntawm kab cim. Tej zaum koj yuav tsum tau txiav tawm qee qhov kev hloov kho ntxiv lossis hloov kho cov npe ntawm cov xov tooj meta.

Kauj ruam 2

Tshem cov meta tag nrog lub npe sib npaug rau lub tshuab hluav taws xob los ntawm kho cov nplooj ntawv header template ntawm CMS-powered lub vev xaib tam sim no. Raws li txoj cai, cov txheej txheem kev tswj fwm txheej txheem tsim cov txheej txheem uas yuav tsum tau ntawm cov meta cov cim npe thiab ntxiv rau cov kab ntawm cov nplooj ntawv tsim tawm. Tab sis txhua cov cim npe tuaj yeem tawv ua qauv.

Rub tawm ntawm nplooj ntawv header template file rau cov ntsiab lus xaib tam sim no rau koj lub zos hauv zos siv FTP. Hloov nws hauv cov ntawv nyeem kho kom raug. Rub tawm cov ntawv no rov qab rau lub server hloov daim tseem.

Kauj ruam 3

Tshem tawm cov khoom lag luam tawm ntawm qhov meta tag los ntawm lub npe tsim hluav taws xob hauv cov npe nplooj ntawv xaib los ntawm kev hloov kho cov kab ke ntawm cov ntaub ntawv ntawm cov ntsiab lus tswj hwm. Hauv qee qhov CMS, meta-tag uas qhia txog lub cav yog yuam rau ntxiv rau kev teeb tsa cov meta-tags ntawm txhua nplooj ntawv, yog li koj tsis tuaj yeem ua yam tsis muaj kev kho cov code.

Cais cov CMS faib rau cov chaw khaws ntaub ntawv ib ntus ntawm lub tshuab computer hauv zos lossis rub lub cav cov ntawv los ntawm cov neeg rau zaub mov siv tus neeg siv FTP. Nrhiav rau lub tshuab hluav taws xob snippet hauv cov ntsiab lus ntawm CMS cov ntaub ntawv. Xauj cov ntaub ntawv pom, kawm txog cov khoom hauv paus. Tawm tswv yim tawm tus lej tawg tsam lub luag haujlwm rau kev ua kom pom cov meta kab uas xav tau Hloov cov CMS cov ntaub ntawv rau ntawm lub server nrog lawv hloov kho tshiab.

Yuav ua li cas tshem tawm meta npe tshuab hluav taws xob
Yuav ua li cas tshem tawm meta npe tshuab hluav taws xob

Kauj ruam 4

Tshem cov xov tooj npe meta tawm ntawm koj cov nplooj ntawv zoo li qub. Rub tawm cov ntawv rau cov nplooj ntawv uas muaj cov cim no los ntawm tus xaib site mus rau qhov chaw nyob ib ntus ntawm koj lub computer lub hard drive. Siv cov program FTP. Kho kom raug cov ntaub ntawv los ntawm kev tshem tawm cov kev xav ua meta lossis ntawm ntu HEAD. Siv cov kab ntawv sau uas tuaj yeem txuag cov ntaub ntawv hauv lawv cov ntawv sau thawj. Hloov cov ntaub ntawv hloov mus rau lub server.

Pom zoo: