I-WordPress: Susa futhi uqondise kabusha i-YYYY / MM / DD Isakhiwo se-Permalink nge-Regex ne-Rank Math SEO

Qondisa kabusha i-YYYY / MM / DD Regex WordPress Rank Math Math SEO

Ukwenza lula ukwakheka kwe-URL yakho kuyindlela enhle yokwandisa isiza sakho ngezizathu eziningi. Ama-URL amade kunzima ukuwabelana nabanye, anganqunywa kubahleli bombhalo nakwabahleli be-imeyili, futhi izakhiwo eziyinkimbinkimbi zefolda ye-URL zingathumela izimpawu ezingezona ezinjinini zokucinga ngokubaluleka kokuqukethwe kwakho.

Isakhiwo seYYYY / MM / DD Permalink

Uma isayithi lakho belinama-URL amabili, iyiphi ongacabanga ukuthi inikeze le ndatshana ngokubaluleka okuphezulu?

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

Okunye kokusetha okuzenzakalelayo kwe-WordPress ukuba nesakhiwo se-permalink kubhulogi esifaka i-yyyy / mm / dd ngaphakathi kwe-URL. Lokhu akulungile ngezizathu ezimbalwa:

  1. Injini Yokusesha (SEO) - Njengoba kushiwo ngenhla, isigaba sabaphathi besiza sikhombisa izinjini zokucinga ukuthi okuqukethwe kungamafolda ama-4 kude nekhasi lasekhaya… ngakho-ke akubalulekile okuqukethwe.
  2. Ikhasi Lemiphumela Yenjini Yokucinga (SERP) - Ungaba nendatshana emnandi esizeni sakho oyibhale ngonyaka owedlule kepha lokho kusasebenza. Kodwa-ke, amanye amasayithi ashicilela izindatshana zakamuva. Uma ubuke ukwakheka kosuku okwakungunyaka owedlule ekhasini lomphumela wenjini yokusesha (SERP), ungachofoza i-athikili endala? Cishe cha.

Isinyathelo sokuqala okufanele usithathe ukuvuselela Amasethingi> Ama-Permalinks ku-WordPress admin bese wenza i-permalink yakho /% igama lesibongo% /

Izilungiselelo ze-WordPress Permalink

Lokhu; noma kunjalo, kungaphula zonke izixhumanisi zakho zokuthunyelwe ezikhona kubhulogi yakho. Ngemuva kokuthi ibhulogi yakho iphile isikhashana, akumnandi ukwengeza ukuqondiswa kabusha kwazo zonke izindatshana zakho ezindala. Kulungile ngoba ungasebenzisa iSichasiso Esijwayelekile (I-Regexukwenza lokhu. Isisho esijwayelekile sibheka iphethini. Kulokhu, isisho sethu esijwayelekile sithi:

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

Isisho esingenhla siphuka kanjena:

  • / \ d {4} ibheka ama-slash nezinombolo zezinombolo ezi-4 ezimele unyaka
  • / \ d {2} ibheka ama-slash nezinombolo zezinombolo ezi-4 ezimele inyanga
  • / \ d {2} ibheka ama-slash nezinombolo ezine zezinombolo ezimele usuku
  • / (.*) ithwebula noma yini esekugcineni kwe-URL iye kokuguquguqukayo ongathumela kukho kabusha. Esimweni esinjalo:

https://martech.zone/$1

Le ndlela ibukeka ngayo ngaphakathi kwe- Isikhundla se-Math SEO i-plugin (efakwe ohlwini njengenye ye ama-plugins we-WordPress ayizintandokazi), vele ungakhohlwa ukuqinisekisa ukuthi uhlobo lusethwe I-Regex ngokudonsela phansi:

ukuqondisa kabusha kwezibalo zerenki

Ukususa iBlog, Isigaba, noma Amagama Esigaba noma Eminye Imigomo

Isusa iBlog - Uma ngabe ubunegama elithi "blog" ngaphakathi kwesakhiwo sakho se-permalink, ungasebenzisa ukuqondiswa kabusha kwe-Rank Math SEO ukugcwala

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

Qaphela kulokhu, angisebenzisanga inketho ye- (. *) Ngoba lokho kungadala iluphu uma nginekhasi ebelili-blog / nje. Lokhu kudinga ukuthi kube nohlobo oluthile lwe-slug ngemuva kwe- / blog /. Uzofuna ukuqondisa kabusha lokhu njengoba ngenhla.

https://martech.zone/$1

Isusa isigaba - Ukususa isigaba kusuka ku-slug yakho (ekhona lapho ngokuzenzakalela) phaka i- I-plugin ye-Math SEO plugin enenketho yoku isigaba se-strip kusuka kusakhiwo se-URL kuzilungiselelo zabo ze-SEO> Izixhumanisi:

Isigaba se-Math Strip Category kusuka ku-Links

Isusa Izigaba - Uma ngabe ubunezigaba, uzofuna ukuqaphela kakhudlwana futhi wakhe uhlu lwamagama wesigaba esiqondile ukuze ungazenzeli ngengozi iluphu eyisiyingi. Nasi leso sibonelo:

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

Futhi, angisebenzisanga inketho ye- (. *) Ngoba lokho bekuzodala iluphu ukube benginekhasi ebelili-blog / nje. Uzofuna ukuqondisa kabusha lokhu njengangenhla.

https://martech.zone/$1

Ukudalulwa: Ngiyikhasimende futhi ngibambisene ne Isikhundla Math.

UCABANGANI?

Le sayithi isebenzisa i-Akismet ukunciphisa ugaxekile. Funda ukuthi idatha yakho yokuphawula isetshenziswa kanjani.