WordPress: Chotsani ndikuwongolera Kapangidwe ka YYYY / MM / DD Permalink ndi Regex ndi Rank Math SEO

Onetsani YYYY / MM / DD Regex WordPress Rank Math SEO

Kuphweketsa kapangidwe kanu ka ulalo ndi njira yabwino yokwanitsira tsamba lanu pazifukwa zingapo. Ma URL aatali ndi ovuta kugawana ndi ena, amatha kudulidwa mwa olemba mawu ndi omwe amasintha maimelo, ndipo zovuta zamafoda a URL amatha kutumiza ma siginolo olakwika kuma injini osakira kufunikira kwa zomwe muli nazo.

Kapangidwe ka YYYY / MM / DD Permalink

Ngati tsamba lanu lili ndi ma URL awiri, ndi iti yomwe mungaganize kuti yapatsa nkhaniyo kufunika kwambiri?

  • https://martech.zone/2013/08/06/yyyy-mm-dd-regex-redirect OR
  • https://martech.zone/yyyy-mm-dd-regex-redirect

Chimodzi mwazinthu zosakhazikika za WordPress ndikukhala ndi pulogalamu ya permalink pa blog yomwe ikuphatikizapo yyyy / mm / dd mkati mwa URL. Izi sizabwino pazifukwa zingapo:

  1. Kusaka Magetsi Opatsirana (SEO) - Monga tafotokozera pamwambapa, olamulira akuluakulu a tsambali akuwonetsa makina osakira omwe zili 4 zikwatu kuchokera patsamba loyamba… ndiye sizofunikira.
  2. Tsamba Lotsatira Zotsatira za Search Engine (SERP) - Mutha kukhala ndi nkhani yosangalatsa patsamba lanu yomwe mudalemba chaka chatha koma ndizothandiza. Komabe, masamba ena akusindikiza zolemba zaposachedwa kwambiri. Ngati mungayang'ane dongosolo la madeti lomwe linali chaka chapitacho patsamba la zotsatira za injini zosakira (SERP), kodi mungadule nkhani yakale? Mwina ayi.

Gawo loyamba kutenga ndikusintha Zikhazikiko> Permalinks mu WordPress admin ndikungopanga permalink yanu /% dzina laulemu% /

Zikhazikiko za WordPress Permalink

Izi; komabe, zitha kuthyola maulalo onse omwe adalipo pa blog yanu. Pambuyo pokhala ndi blog yanu kwakanthawi, sizosangalatsa kuwonjezera kuwongolera zina mwa zolemba zanu zakale. Ndizobwino chifukwa mutha kugwiritsa ntchito Chiwonetsero Chokhazikika (Regexkuti muchite izi. Mawu wamba amayang'ana chitsanzo. Poterepa, mawu athu nthawi zonse ndi awa:

/\d{4}/\d{2}/\d{2}/(.*)

Mawu omwe ali pamwambapa amawonongeka motere:

  • / \ d {4} imayang'ana slash ndi manambala 4 oimira chaka
  • / \ d {2} imayang'ana slash ndi manambala manambala 4 oimira mwezi
  • / \ d {2} imayang'ana slash ndi manambala 4 oimira tsikulo
  • / (. *) amatenga chilichonse chomwe chili kumapeto kwa ulalo kukhala chosinthika chomwe mutha kulozanso. Pamenepa:

https://martech.zone/$1

Umu ndi momwe zimawonekera mkati mwa Masewero a Math Math SEO plugin (yotchulidwa ngati imodzi mwathu okonda WordPress mapulagini), osayiwala kuwonetsetsa kuti mtunduwo wakonzedwa Regex ndi kutsika:

masanjidwewo SEO amawongolera

Kuchotsa Blog, Gulu, kapena Gulu la Mayina kapena Zina

Kuchotsa Blog - Mukadakhala ndi mawu oti "blog" mkati mwazolowera za permalink, mutha kugwiritsa ntchito mayendedwe a Rank Math SEO kuti mudzaze

/blog/([a-zA-Z0-9_.-]+)$

Zindikirani pa izi, sindinagwiritse ntchito njira ya (. *) Popeza izi zingapangitse kuti ndikhale ndi tsamba lokhala / blog. Izi zimafunikira kuti pali mtundu wina wa slug pambuyo pa / blog /. Mufuna kutsogolera izi monga zili pamwambapa.

https://martech.zone/$1

Kuchotsa Gulu - Kuchotsa gulu Kuchokera ku slug yanu (yomwe imakhalapo mwachisawawa) ikani fayilo ya Rank Math SEO pulogalamu yowonjezera yomwe ili ndi mwayi wosankha gulu lazovala kuchokera pamtundu wa URL m'malo awo a SEO> Maulalo:

Udindo wa Math Strip Category kuchokera ku Maulalo

Kuchotsa Magulu - Mukadakhala ndimagulu, mudzafunika kukhala osamala kwambiri ndikupanga mayina amtundu womwewo kuti musapange mwendo wozungulira mwangozi. Nachi chitsanzo ichi:

/(folder1|folder2|folder3)/([a-zA-Z0-9_.-]+)$

Apanso, sindinagwiritse ntchito njira ya (. *) Popeza izi zingapangitse kuti ndikhale ndi tsamba ngati ndili ndi tsamba / blog. Mufuna kutsogolera izi monga zili pamwambapa.

https://martech.zone/$1

Kuwulula: Ndine kasitomala komanso wothandizana naye Udindo Math.

Mukuganiza chiyani?

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