
WordPress: Bvisa uye Redirect A YYYY / MM / DD Permalink Structure neRegex uye Rank Math SEO
Kurerutsa yako URL chimiro inzira yakanaka yekukwirisa yako saiti nekuda kwezvikonzero zvinoverengeka. Marefu ma URL anonetsa kugovana nevamwe, anogona kudimburwa mumavara edhita uye maemail edhita, uye dzakaomarara URL dhairekitori zvivakwa zvinogona kutumira zvisirizvo zvisirizvo kune injini dzekutsvaga pakukosha kwezvirimo.
YYYY / MM / DD Permalink Chimiro
Kana yako saiti yanga iine ma URL maviri, ndeupi waunofunga kuti wakapa chinyorwa chakakosha zvakanyanya?
- https://martech.zone/permalink-optimization OR
- https://martech.zone/permalink-optimization
Imwe yemaseti ekumisikidza yeWordPress ndeyekuti uve neyakagadziriswa mvumo pane iyo blog inosanganisira iyo yyyy / mm / dd mukati me URL. Izvi hazvina kukodzera nekuda kwezvikonzero zvinoverengeka:
- Tsvaga Engine Optimization (SEO) - Sezvakakurukurwa pamusoro apa, hutongi hwesaiti iyi huri kuratidza mainjini ekutsvaga kuti zvirimo zviri mafolda mana kubva papeji rekutanga… saka hazvina kukosha zvirimo.
- Tsvaga Injini Result Peji (SERP) - Unogona kunge uine chinyorwa chinonakidza pane yako saiti iwe chawakanyora gore rapfuura asi izvo zvichiri kushanda. Nekudaro, mamwe mawebhusaiti ari kutsikisa zvinyorwa zvichangoburwa. Kana iwe ukaona dhizaini yemusi yaive gore rapfuura mune yekutsvaga injini mhedzisiro peji (SERP), iwe ungabaya chinyorwa chekare here? Zvichida kwete.
Nhanho yekutanga kutora ndeyekugadzirisa Zvirongwa> Permalinks muWordPress admin uye ingo ita yako permalink iyo /% zita remazita% /

Izvi; zvisinei, zvaizotyora zvese zvako zviripo zvekutumira zvinongedzo pane yako blog. Mushure mekuita yako blog kurarama kwechinguva, hazvinakidze kuwedzera kudzoreredza kune yega yega yezvinyorwa zvako zvekare. Izvo zvakanaka nekuti iwe unogona kushandisa Yakajairika Kuratidzira (regexkuita izvi. Chirevo chenguva dzose chinotarisa pateni. Mune ino kesi, matauriro edu enguva dzose ndeaya:
/\d{4}/\d{2}/\d{2}/(.*)
Izwi riri pamusoro rinodonha seinotevera:
- / \ d {4} inotarisa slash uye mana manhamba manhamba anomiririra gore
- / \ d {2} inotarisa slash uye mana manhamba manhamba anomiririra mwedzi
- / \ d {2} inotarisa slash uye mana manhamba manhamba anomiririra zuva
- / (. *) inotora chero chiri kumagumo kweiyo URL kuita musiyano waunogona kuendesazve. Mune ino kesi:
https://martech.zone/$1
Aya anotaridzika sei mukati me Chidimbu Math SEO plugin (yakanyorwa seimwe yedu kufarira WordPress plugins), usangokanganwa kuona kuti mhando yakagadzirirwa regex pamwe nekudonhedza:

Kubvisa Blog, Chikamu, kana Chikamu Mazita kana Mimwe Mitemo
Kubvisa Blog - Kana iwe uine izwi rekuti "blog" mukati meyako permalink chimiro, unogona kushandisa Rank Math SEO's redirections kuti izare
/blog/([a-zA-Z0-9_.-]+)$
Cherekedza pane izvi, ini handina kushandisa iyo (. *) Sarudzo nekuti izvo zvaizogadzira chiuno dai ndaive nepeji raingova / blog. Izvi zvinoda kuti paine imwe mhando slug mushure me / blog /. Iwe uchazoda kuendesa zvakare izvi sezviri pamusoro.
https://martech.zone/$1
Kubvisa Chikamu - Kubvisa chikamu kubva pane yako slug (iriko nekusarudzika) shandisa iyo Rank Math Masvomhu plugin iyo ine sarudzo yeku bvisa chikamu kubva kune iyo URL chimiro mune yavo SEO marongero> Zvinongedzo:

Kubvisa Zvikamu - Kana iwe waive nezvikamu, iwe uchazoda kunyatso chenjera uye gadzira rondedzero yemazita chaiwo echikwata kuti urege netsaona kugadzira denderedzwa chiuno. Heano iwo muenzaniso:
/(folder1|folder2|folder3)/([a-zA-Z0-9_.-]+)$
Zvekare, ini handina kushandisa iyo (. *) Sarudzo nekuti izvo zvaizogadzira chiuno dai ndaive nepeji raingova / blog. Iwe uchazoda kuendesa zvakare izvi sezviri pamusoro.
https://martech.zone/$1
kuburitsa: Martech Zone mutengi uye akabatana ne Chinzvimbo Math.