Yadda zaka rabu da waccan matsalar Pesky -2 tare da WordPress slugs

wordpress logo

Ina fatan ba ni kadai bane wannan yake damuna, amma na ƙi shi sosai lokacin da na ƙara wani rukuni akan shafin yanar gizon WordPress kuma URL ɗin ya juya zuwa wani abu kamar / rukuni-2 /.

Me yasa WordPress yake Addara -2?

Alamominku, rukuninku, shafuka da ayyukanku duk suna da slug an bayyana hakan a cikin tebur ɗaya inda ba za ku iya samun kwafin abu tsakanin yankunan uku ba. Abin da galibi ke faruwa shi ne cewa kuna da shafi, matsayi ko alama wanda ke da tutsar silsilar don haka ba ku da ikon amfani da ita azaman tarko. Maimakon gaya muku hakan, WordPress kawai lambobin slug ne tare da -2. Idan ka sake yi, zai ƙara -3, da sauransu. Dole slugs ya zama na musamman a cikin duk tsarin sarrafa abun ciki.

Ga hoton batun tare da ɗaya daga cikin abokan cinikinmu.

category-tutsar sulug

Taya Zan Gyara -2?

Da farko, kuna buƙatar bincika shafuka, posts, da alamun don sunan tutsar da kuke son samu. Da zarar kun samo shi, kuna buƙatar shirya wannan shafin, aikawa da / ko alama don zuwa da wani tarko daban. Mafi sau da yawa ba haka ba, muna ganin ta a matsayin alama kuma cire alamar daga kowane sakon. Don yin wannan:

  1. Rubuta sunan tutsar sulug cewa muna nema a cikin filin bincike akan shafin alama.
  2. An tsara jerin abubuwan da aka yi amfani da alamar a ciki yanzu.
  3. Yawan sakonnin da ake amfani da alamar a ciki ana nuna su zuwa dama na alamar.
  4. Latsa wannan adadin kuma zaku sami jerin kowane ɗayan sakonnin da ake amfani da alamar a ciki.
  5. Click Kashewa akan kowane rubutu, cire alamar, kuma adana sakon.
  6. Komawa shafin shafi, bincika alamar, kuma yakamata ku ga cewa an jera alamar a cikin sakonni 0.
  7. Idan 0 ne, share alamar.
  8. Yanzu da aka goge alamar, zaka iya sabunta nau'in tarkon kuma cire -2.

tag-slug

Ba ku gama ba tukuna!

Tunda ana iya lissafin rukunin rukunin rukunin yanar gizonku a cikin sakamakon bincike, kuna so a tura tsohon URL ɗin tare da -2 zuwa sabon URL ba tare da shi ba.

Me kuke tunani?

Wannan shafin yana amfani da Akismet don rage spam. Koyi yadda aka sarrafa bayanan bayaninka.