Osclass Support Forums

General osclass questions => General discussion => Topic started by: Ghany on May 07, 2020, 05:17:18 AM

Title: change underscore too hyphens
Post by: Ghany on May 07, 2020, 05:17:18 AM
Hi i would like to remove underscore from one of my category URL , how i can do that?

https://site.com/video_1 to this https://site.com/video- or this https://site.com/video

Thanks in advance....
Title: Re: change underscore too hyphens
Post by: MB Themes on May 07, 2020, 06:47:18 AM
@abdul
Oc-admin > Settings > Permalinks > Edit
Title: Re: change underscore too hyphens
Post by: Ghany on May 07, 2020, 08:16:29 PM
@abdul
Oc-admin > Settings > Permalinks > Edit

Look in to this http://prntscr.com/scqizm where and what should i change to remove underscore?

thank you.
Title: Re: change underscore too hyphens
Post by: MB Themes on May 07, 2020, 08:29:44 PM
Well, in those inputs outside {}
Title: Re: change underscore too hyphens
Post by: Ghany on May 07, 2020, 08:33:35 PM
Well, in those inputs outside {}

you mean like this http://prntscr.com/scqtyc ? if you don't mind could you please elaborate?
Title: Re: change underscore too hyphens
Post by: Ghany on May 07, 2020, 08:39:16 PM
Here  itself i am getting {CATEGORY_NAME} underscore, because when i have same name for multiple subcategories then link was generating with under score

example, In mobiles category i have with the name of "other brand" subcategory - link is reflecting as ( www.site.com/other-brand )

In Electronics category i have other subcategory with same name as "other brand"  - then link reflecting as ( www.site.com/other-brand_1 )
Title: Re: change underscore too hyphens
Post by: MB Themes on May 07, 2020, 09:12:44 PM
That is is added as fix for duplicated category name, is part of it so cannot be changed. Simply do not use same category names
Title: Re: change underscore too hyphens
Post by: Ghany on May 07, 2020, 09:13:59 PM
yes i will change names to avoid this issues..

Thank you//.... :)