Advertisement:

Author Topic: Remove _i{ITEM_ID} from permalink  (Read 874 times)

mwr

  • Newbie
  • *
  • Posts: 2
Remove _i{ITEM_ID} from permalink
« on: February 26, 2018, 04:22:58 pm »
Hi, my URL is setup like this:
{CATEGORIES}/{ITEM_TITLE}_i{ITEM_ID}
So my add is now:
https://www.annunci-cartomanzia.it/servizi/oroscopi-tarocchi/lettura-tarocchi-in-amore_i3

How i can remove i3 from end url?

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1198
Re: Remove _i{ITEM_ID} from permalink
« Reply #1 on: February 26, 2018, 05:09:45 pm »
go in oc-admin->Settings->Permalinks click on Show rules

Aficionado

  • Guest
Re: Remove _i{ITEM_ID} from permalink
« Reply #2 on: February 26, 2018, 05:28:37 pm »
It is not wise to remove the ad Item ID.

There MUST be an item id in every ad.

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1198
Re: Remove _i{ITEM_ID} from permalink
« Reply #3 on: February 26, 2018, 05:42:00 pm »
It is not wise to remove the ad Item ID.

There MUST be an item id in every ad.

you are right, without id is not working

Aficionado

  • Guest
Re: Remove _i{ITEM_ID} from permalink
« Reply #4 on: February 26, 2018, 05:50:06 pm »
Yeap.

I haven't tried IF the Item ID can be moved before the last slash, i mean for example:

From

https://www.  annunci-cartomanzia.it  /servizi/oroscopi-tarocchi/lettura-tarocchi-in-amore_i3

to

https://www.  annunci-cartomanzia.it  /servizi/oroscopi-tarocchi/i3/lettura-tarocchi-in-amore

???


m6mmi

  • Jr. Member
  • **
  • Posts: 72
Re: Remove _i{ITEM_ID} from permalink
« Reply #5 on: February 26, 2018, 06:33:25 pm »
Item ID is a must cause otherwise there is tiny option that you might get 2 or more listings with same title and that´s a conflict cause you would have same urls for those listings. Let´s say you have multiple listings all using same title example: iphone x

What you can do is remove the underscore some say hyphens are better for seo https://www.seomechanic.com/seo-101-hyphens-underscores-_-urls/ and https://moz.com/community/q/hyphens-vs-underscores it´s a tiny thing but a bit more user friendly and more readable.

So you could use {CATEGORIES}/{ITEM_TITLE}-{ITEM_ID}

Hope it helps.
« Last Edit: February 26, 2018, 06:35:19 pm by m6mmi »