Osclass forums

Support forums => Themes => Bender => Topic started by: mwr on February 26, 2018, 04:22:58 pm

Title: Remove _i{ITEM_ID} from permalink
Post by: mwr 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?
Title: Re: Remove _i{ITEM_ID} from permalink
Post by: cartagena68 on February 26, 2018, 05:09:45 pm
go in oc-admin->Settings->Permalinks click on Show rules
Title: Re: Remove _i{ITEM_ID} from permalink
Post by: Aficionado 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.
Title: Re: Remove _i{ITEM_ID} from permalink
Post by: cartagena68 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
Title: Re: Remove _i{ITEM_ID} from permalink
Post by: Aficionado 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

???

Title: Re: Remove _i{ITEM_ID} from permalink
Post by: m6mmi 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.