Category Hierarchy of my site
“contact-lenses” (Main category) (PRIMARY CATEGORY)
“brands” (Subcategory)
“bausch-and-lomb” (Sub-subcategory)
“color/clear” (Subcategory)
“clear” (Sub-subcategory)
“disposability” (Subcategory)
“yearly-disposable” (Sub-subcategory)
On using /%category%/%postname%/ in my Custom base section under section Product permalinks of wordpress
my site is taking sub category as color/clear but i want to use sub category as brands
output of my site :- https://opticpharm.com/contact-lenses/colour-clear/clear/bausch-and-lomb-optima-38-yearly-disposable-contact-lens/
desired output :- https://opticpharm.com/contact-lenses/brands/bausch-lomb/bausch-and-lomb-optima-38-yearly-disposable-contact-lens/
Please tell me what should be written in custom base so that this error is resolved and also make sure that there must be no errors to me make with other urls of other products
expected Result :- https://opticpharm.com/contact-lenses/brands/bausch-lomb/bausch-and-lomb-optima-38-yearly-disposable-contact-lens/
GPT CHAT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.