WordPress: Tsamba Loyambira Lofanana

WordPress

Ngati mukugwiritsa ntchito WordPress, amodzi mwa mapulagini anu oyenera ayenera kukhala zokhudzana Post pulogalamu yowonjezera. Izi zati, ndazindikira kuti mawu osakira omwe anali kutumizidwa ndi Daily Reads anga anali kusokoneza zotsatira za Post Post.

Komanso, ndidadabwitsidwa kuti pulogalamu yowonjezera ya Posts Posts imangopereka mndandanda wazolemba zina pamaso positi yomwe mukuwerenga! Bwanji ngati mutasintha malingaliro anu (monga momwe ndimachitira nthawi zambiri!)… Simuyenera kupereka zolemba zomwe zidatulutsidwa pambuyo pachiyambi koma zogwirizana?

Zotsatira zake, ndidapanga tinthu tating'onoting'ono tolowera. Choyamba, kuti ndidziwe zolemba zonse zisanachitike komanso zitatha, ndidasintha mzere 91 kuchokera:

. "NDI post_date> = '$ now'" ku (ZOCHITIKA: 11/15/2011):. "NDI post_date! = '$ Tsopano'". "NDI post_date <= CURDATE ()"

Chachiwiri, Daily Reads pa blog yanga imatumizidwa ndi Del.icio.us pansi pa wolemba wina (kuti ndisasinthe mawu achinsinsi ndikuphwanya zomwe ndalemba). Kuti ndichite izi, ndangowonjezera funso lina lofufuzira kuti ndichotse wolemba ameneyo pazotumizira zomwe zinafufuzidwa mwa kuyika mzere wotsatira pambuyo pake:

. "NDIPO post_author! = 4"

Ndapeza nambala ya wolemba pongoyang'ana mwa Ogwiritsa Ntchito. Ndibwino kuti ndisapangitse zinthu zovuta kulowa nawo patebulo lina - zitha kuchepetsa kuthamanga komwe zotsatirazi zimawonetsedwa ndikuchepetsa nthawi yolemetsa. Izi zipangitsa kuti anthu azikhumudwitsidwa ndikuchoka.

Ubwino Wakuwonetsa Zolemba Zofananira

Zolemba Zofananira ndi chida chosangalatsa cha blog iliyonse. Zolemba zofananira zimalimbitsa Zotsatira za Kusaka mwa kukulitsa mawu osakira kudzera maulalo, chinthu chofunikira pamachitidwe a Search Engine.

Zolemba zokhudzana nazo sizongokhala a SEM chida, komabe. Zolemba zokhudzana nazo ndi chida chosungira ogwiritsa ntchito patsamba lanu. Mwina sangapeze zomwe amayang'ana komwe adafikira - koma ngati mungawapatse zina zowonjezerapo, atha kumangokhala komweko!

20 Comments

  1. 1

    Chinyengo chozizira. Sindinadziwe Zolemba Zofananira ndimene ndimangotolera zolemba zam'mbuyomu ... Ndiyenera kupita kukasintha pulagi-yapa. Zikomo chifukwa chokwaniritsa malangizo 🙂
    … Ndi chaka chatsopano!

  2. 2
  3. 3

    wow .. uku ndichinyengo. Ngakhale ndilibe masamba olumikizana ndi wasabi, ndili ndi plugged mu zazosavuta pazogwirizana ndipo ndikuganiza kuti zikuyenera kukhala zikugwiritsanso ntchito postdate <chikhalidwe. Zikomo chifukwa cha nsonga, ndiloleni ndiyang'ane nambala yanga yolumikizira ndikuwona ngati ndingathe kuyisintha kuti ndipeze zotsatira zabwino.

  4. 4

    Chandoo, Ma tag osavuta sagwiritsa ntchito zomwe zachitika pambuyo pake - Ndikukhulupirira zimapanga zolemba zofananira, ndikuwona tsamba lililonse (pokhapokha mutatsegula cache). Izi sizomwe zili zothandiza kwambiri pa seva, koma zikutanthauza kuti ipeza machesi abwino kwambiri, ngakhale atatumizidwa kale kapena posachedwa.

    Doug - pepani potuluka mutu pang'ono ...

  5. 6

    Ntchito yabwino! Koma ndikufuna kutola nthiti zingapo.

    Kulungamitsidwa kwanu kwa "(osati) kujowina patebulo lina”Chifukwa:

    "itha kuchepetsa liwiro lomwe zotsatirazi zimawonetsedwa ndikuchepetsa nthawi yonyamula"

    ndichopanda pake komanso chitsanzo chakukonzekera msanga komwe kumalepheretsa kupitilizabe, ndipo ndizomvetsa chisoni kuwona anthu omwe ali ndi omvera ambiri akuvomereza zinthu zotere chifukwa zimafalitsa zabodza.

    SQL ikukuyankhulani ndi inu mumayankhula, poganiza kuti muli ndi ma index oyenera omwe adzawonjezere nthawi yanu yoyankhira makamaka microsecond. Muyenera kukhala ndi matani amtundu wamtunda aliyense asanazindikire ngakhale theka lachiwiri la kusiyana. Tsopano inde, ngati mudzikakamiza kuti mulembe khodi yolimba ya SQL yomwe ingachite bwino kwambiri, koma chowonjezera chowonjezera pazambiri sizomwe zili choncho.

    Komanso, m'malo molimbikitsa kubera pulogalamu yowonjezera ya winawake, ndikufuna kwambiri kukuwonani mukuchirikiza ndikuigwiritsa ntchito kuti zomwe zikuwonjezera muphatikizidwe ndi pulogalamu yakeyokha. Momwemonso, mutha kupeza ma coder amateur kuti agwiritse ntchito zomwe mwasintha kenako ndikukhazikitsa pulogalamu yatsopanoyo ndikumasula zosinthazo koma sangathe kuzindikira chomwe chalakwika. Kusintha kwanu ndikwabwino, kungotaya magwiridwe antchito, koma ma hacks ena atha kupangitsa kuti tsamba liswe ngati kubwereza mtsogolo kwa pulogalamu yayikulu yagwiritsidwe ntchito kudzagundidwa.

    JMTCW. Pitilizani ntchito yabwino mwanjira ina. 🙂

    • 7

      Moni Mike!

      Zikomo poyankha - sindikutsimikiza ndikuvomereza, ngakhale. Sindinakonzekere msanga… inde, ndapeza njira yabwino kwambiri yopezera magwiridwe antchito omwe ndimafunikira popanda kusintha zina. M'buku langa, izi ziyenera kukhala zomwe opanga onse akufuna.

      Ndinanenanso kuti ndikanathera zimakhudza magwiridwe antchito. Sindinadandaule za kuyesa kapena kuyesa chifukwa sikunali kofunikira kutengera momwe ndimakonzera pulogalamu yowonjezera. Apanso - Ndili ndi 100% ya magwiridwe antchito omwe ndimafunikira popanda kujowina kapena kuwonjezera ma index, ndi njira yothetsera vuto m'buku langa.

      Ndikugwirizana nanu pazolemba zanu zina, komabe. Ndine wokonda kusinthanso mapulagini, zimamveka ngati ndikuchotsedwa ntchito ndi wina. Ndatchula za blog ya wolemba pa izi - mwina atenga izi ngati zina zomwe zingatulutsidwe mtsogolo.

      PS: Kukonzekera kusintha! 🙂

      • 8

        @Douglas: Sindikudziwa kuti ndikuvomereza, komabe. Sindinakule msanga? Apanso - ndakhala ndi 100% ya magwiridwe antchito omwe ndimafunikira popanda kujowina kapena kuwonjezera ma index, ndi zina zambiri.

        Chabwino, ndikuganiza kuti ndi kusiyana pakati pa munthu amene akuwona mapulogalamu kuchokera pantchito yabwino ndi luso laukadaulo ndi munthu amene amangoyeserera kuti achite zinazake (ndipo sindikutanthauza izi mwachinyengo; pamndandanda wina wamakalata ndimasewera udindo wotsutsana ndi wakale

        Ndizofanana ndi momwe akauntanti kapena loya amauza mwini bizinesi "Sindingachite zimenezo”Ndipo mwini bizinesiyo, osangobisa zomwe akatswiri akudziwa kuti ndi zotheka * amanyalanyaza upangiri wawo chifukwa zimawoneka ngati khama kwambiri, ndipo amalima patsogolo. Mulungu amadziwa kuti ndakhala mwini bizinesi m'mbuyomu ndipo ndalima motsutsana ndi upangiri wonse, ngakhale pambuyo pake. 🙂

        @Douglas: Ndili ndi nkhawa kuti ndasindikizanso mapulagini,…

        Ayi, sizomwe ndimanena. Zomwe ndimanena ndikuti popeza ndizotseguka kuti mutha kuperekanso zosintha zanu kwa wolemba woyambayo azivomera, ndipo mutha kuzichita mwachangu polumikizana ndi kupereka. Panopa ndimagwira ntchito yothandizira kutsatsa komanso kugwiritsa ntchito tsamba lawebusayiti posindikiza ndi kugwiritsa ntchito Drupal pa ukadaulo wa intaneti, ndipo gulu la Drupal limalumikizana ndi olemba plugin (Drupal amawatcha "ma module") ndikupereka chithandizo chothandizira kukonza ma module ena.

        Lingaliro chabe.

        PS Zikomo chifukwa chakusintha.

        • 9

          Mfundo zabwino, Mike!

          Ndikhoza kulingalira ndi pulojekiti kuti ndiwonjezerepo mwayi wa "Ingowonetsani Mauthenga Asanatulutsidwe Posachedwa". Ndikuganiza kuti njira yachiwiri ndiyopindulitsa kwambiri pabulogu yanga, koma ndiyang'ana ndikuwona kuti ikhoza kukhala yosangalatsa kwa wolemba.

  6. 11
  7. 13

    Doug - Ndikhoza kukhala ndikusowa kena kake pano. Zikuwoneka kuti

    AND post_date <= '$now'

    sizimalepheretsa zolemba zomwe zidapangidwa pambuyo poti posanjidwazo zisaphatikizidwe, mochuluka chifukwa zimalepheretsa kuphatikiza zolemba zomwe mwina mukadakhala lofalitsidwa mtsogolo.

    Tikukhulupirira kuti ndizomveka ndikuthokoza chifukwa cha bulogu yayikulu.

  8. 15

    @Mike: Chabwino, ndikulingalira kuti ndi kusiyana pakati pa munthu amene akuwona mapulogalamu kuchokera kuukadaulo wapamwamba ndiukadaulo motsutsana ndi munthu amene amangoyeserera kuti akwaniritse china chake

    Kusiyanitsa kokondweretsa. Ngakhale zingakhale zabwino kukhala ndi chilichonse chomwe chikuyenda bwino kwambiri, nthawi zambiri zomwe zimawoneka ngati zopanda ntchito. Ndimayesetsa kupeza malire pamapulogalamu anga pakati pa momwe ndingafunire china chake kuti chichitike komanso kuchuluka kwa ndalama kapena nthawi yomwe zingatengere kuti ndikafike.

    Ndimayesetsa kuchita zochepa zomwe zimafunika kuti ndikwaniritse cholinga chomwe ndimayesetsa kukwaniritsa. Kugwiritsa ntchito nthawi yochulukirapo sikungakhale kopindulitsa.

    Mwachidule, pokhapokha kutayika kumeneku kukuwonekere mu blog yanga sindingagwiritse ntchito nthawi yochulukirapo, Ngati zikuwonekeratu kuposa momwe ndingaganizire ngati nthawi yowonjezerayo ingakhale yoyenera. Ungwiro si yankho labwino nthawi zonse.

    • 16

      @Dwayne: Ndimayesetsa kuchita zochepa zomwe zimafunika kuti ndikwaniritse cholinga chomwe ndikuyesera kukwaniritsa. Kugwiritsa ntchito nthawi yochulukirapo sikungakhale kopindulitsa.

      Zachidziwikire kuti ngati kuchita zocheperako nthawi zonse kumatanthauza kuti simuphunzira njira zabwino zomwe zimakupangitsani kuti mubwereze zochulukirapo mtsogolomo m'malo mongokulolani kuti muzipewe, ndiye kuti mwakwaniritsa zabodza. Inde, ntchito zambiri sizifunikira khama koma ndawona anthu ambiri akutenga njira zazifupi ngati izi m'mbuyomu ndipo anali ena mwaopanga zipatso komanso / kapena osapanga phindu omwe ndimadziwa (ena mwatsoka anali antchito anga , ndichifukwa chake ndidawona kusachita kwawo zinthu zambiri.)

      @Dwayne: Mwachidule, pokhapokha kutayika kumeneku kukuwonekere mu blog yanga sindikanatha kuwonjezerapo nthawi, Ngati zingawonekere kuposa momwe ndingaganizire ngati nthawi yowonjezera iyenera kukhala yotsatira. Ungwiro si yankho labwino nthawi zonse.

      Ndikuganiza kuti mwaphonya mfundo zanga. Choyamba ndimanena kuti Doug anali kukonza zinthu zosazindikirika, osati ine, koma koposa zonse ngati mukufuna kukhazikitsa vuto lomwe lingayambitse mavuto osungika mtsogolo chifukwa chokomera osasindikiza ena kuti awagwiritse ntchito osawawuza za mtundu wa zovuta zomwe zingayambitse pambuyo pake.

      Chododometsa cha ndemanga yanu ndikuti kutenga njira yachangu komanso yosavuta nthawi zambiri kumawonongetsa nthawi yambiri mtsogolo mukakhazikitsa zosintha zachitetezo cha WordPress yanu, kumasula magwiridwe antchito anu ndikuzifuna. Tsopano muli ndi ndowe yopanda singano ndipo mukufunika kudziwa komwe singanoyo inali.

      Kodi mumakhala ndi nthawi yochulukirapo pochita? Bah, sikofunikira kwenikweni. Kodi mumagwiritsa ntchito nthawi yochulukirapo kuti mukhalebe osungika? Inde, nthawi zambiri zimadzilipira pamapeto pake.

      Kukulunga, inde ndi chibadwa chaumunthu kunyalanyaza machenjezo pazinthu zomwe sizinadzipweteketse nazo. Mverani zowawa kamodzi ndipo mudzakhala omvera kwambiri kumvera machenjezo ochokera kwa ena omwe adamva ululuwo.

  9. 17

    Chinthu chimodzi ndiyenera kunena; Ndikuganiza kuti kubera kwa Doug kungakhale kuwonjezera pa WordPress, ngati njira yogwiritsa ntchito. Zikuwoneka ngati zopusa kuti muchepetse zolemba zokhudzana ndi zomwe zidabwera kale.

    Komanso, ndikufuna kufunsa Doug kuti alembe za momwe zolemba zake za tsiku ndi tsiku zimatumizidwira kuchokera ku del.icio.us; imeneyo ingakhale nkhani yosangalatsa.

  10. 20

Mukuganiza chiyani?

Tsambali likugwiritsa ntchito Akismet kuchepetsa spam. Phunzirani momwe deta yanu ikufotokozera.