Yuav Ua Li Cas Kom Tshem Tawm Cov Kev Sib Txuas Mus Rau DLE

Cov txheej txheem:

Yuav Ua Li Cas Kom Tshem Tawm Cov Kev Sib Txuas Mus Rau DLE
Yuav Ua Li Cas Kom Tshem Tawm Cov Kev Sib Txuas Mus Rau DLE

Video: Yuav Ua Li Cas Kom Tshem Tawm Cov Kev Sib Txuas Mus Rau DLE

Video: Yuav Ua Li Cas Kom Tshem Tawm Cov Kev Sib Txuas Mus Rau DLE
Video: Xov Xwm[5/11/2021]Tu Tub Tua เกม Leej Txiv Muab Lub Xov Tooj Tsoo Tawg TuTubXauNpomTua TuKheejTuagLm 2024, Hlis ntuj nqeg
Anonim

Thaum cov kev pabcuam tshwj xeeb tshawb xyuas koj lub xaib rau cov kev tawm uas tsis tsim nyog, koj yuav pom tias muaj ntau ntawm lawv thiab koj tsis tau tso lawv.

Qhov no yog vim qhov tshwj xeeb ntawm tus qauv, cov chaw tsis raug lossis kev siv cov ntawv tsis raug cai ntawm DLE.

Yuav ua li cas kom tshem tawm cov kev tawm mus rau DLE
Yuav ua li cas kom tshem tawm cov kev tawm mus rau DLE

Cov Lus Qhia

Kauj ruam 1

Ua ntej, koj yuav tsum teeb tsa "tus neeg siv pab pawg nqis" kom raug.

Mus rau admin vaj huam sib luag ntawm lub xaib, xaiv cov pab pawg tshwj xeeb, mus rau hauv cov chaw teeb tsa thiab ua kom cov khoom "Tsis siv neeg hloov ntawm url txuas hauv leech tag". Hauv qhov no, thaum ntxiv cov ntaub ntawv lossis cov lus pom ntawm lub xaib, kev txuas yuav hloov mus rau sab hauv. Cov yeeb yaj kiab no tshwj xeeb tshaj yog rau cov xov xwm thiab cov phau ntawv xaib.

teeb tsa pawg neeg siv
teeb tsa pawg neeg siv

Kauj ruam 2

Kev teeb tsa ntawm "Print version". Yog tias koj lub vev xaib template tsis yog nws tus kheej, ces cov print.tpl template feem ntau txuas cov txuas rau lwm qhov chaw. Nkag mus rau ntu ntawm nplooj ntawv no, saib rau kab ntawv: {qeb}> [txuas tag nrho] {npe} [/tag nrho-txuas], thiab tshem qhov txuas “href =”…”nyob rau pem hauv ntej ntawm nws, lossis hloov nws nrog nplooj ntawv tseem ceeb ntawm koj lub xaib.

cov kab txuas hauv template
cov kab txuas hauv template

Kauj ruam 3

Peb mus rau nplooj ntawv lub ntsiab ntawm tus xaib thiab saib lub hauv paus chaw, yog tias muaj kev sib txuas rau lwm qhov chaw, mus rau admin vaj huam sib luag thiab qhib main.tpl. Nias Ctrl + F (nrhiav haujlwm) thiab qhia tus href. Yog tias tus qauv muaj hyperlinks uas tsis tsim nyog rau koj thiab koj tus qauv, tshem lawv, txawm li cas los xij, tsis txhob rho tawm qhov tsim nyog txuas uas yuav muaj qee tus ntawv sau lossis muaj lub luag haujlwm rau cov duab.

qhov home page txuas
qhov home page txuas

Kauj ruam 4

Qee qhov txuas sab nraud tuaj yeem tsis tsuas yog tsim kev puas tsuaj rau lub xaib, tab sis kuj xa qee cov qhua mus rau lwm lub portals yam tsis muaj lawv paub. Txoj kev siv ntau tshaj plaws yog thim cov qhua uas mus rau qhov chaw siv lawv lub xov tooj ntawm tes.

Nyob rau hauv phau ntawv raug cai tswj "K" cov lus pom zoo tau muab rau cov neeg siv thaum hloov mus, thiab rau cov thawj coj hauv tsev kawm ntawv tau muab lus qhia txog kev kho.htaccess cov ntaub ntawv, uas nyob rau hauv lub hauv paus ntawm lub xaib

Nws yog qhov yuav tsum tau qhib cov ntaub ntawv no nrog tus sau ntawv thiab saib txhua kab, them nyiaj tshwj xeeb, xws li:

RewriteRule thiab RewriteRule, vim hais tias nws yog nyob rau hauv lawv tias overdirection tso.

htaccess check
htaccess check

Kauj ruam 5

Vim tias qhov tseeb tias ntau tus thawj tswj hwm siv cov qauv DLE uas rub tawm, lawv yuav luag txhua lub sijhawm muaj cov kab txuas uas tuaj yeem nrhiav hauv ib qeb. Nws raug nquahu kom saib lawv txhua tus, los ntawm addcomments.tpl rau vote.tpl

Koj yuav tsum tau txheeb xyuas cov lus piav qhia uas nyob hauv tib qho chaw ntawm lub chaw tswj hwm.

vim kev mob siab
vim kev mob siab

Kauj Ruam 6

Thaum kuaj xyuas cov ntawv luam tawm ແລ້ວ, koj tuaj yeem siv tus qauv Nrhiav thiab Hloov Kho.

Txhawm rau ua qhov no, thawj zaug tshawb xyuas lub xaib mus rau sab nraud cov kev txuas los ntawm lub xaib xseo.in/links. Tom qab ntawd, peb taw qhia cov kab txuas pom nyob rau hauv cov hloov pauv, thiab hloov lawv nrog peb tus kheej (piv txwv li, ntawm nplooj ntawv tseem ceeb ntawm lub xaib). Ua ntej pib txoj haujlwm, nco ntsoov thaub qab ntawm database.

Pom zoo: