Home › Forums › WoodMart support forum › Add category and sub category to the URL
Add category and sub category to the URL
- This topic has 9 replies, 2 voices, and was last updated 3 hours, 18 minutes ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
September 12, 2024 at 1:36 am #596816
anees786ParticipantIs it possible to add the category and subcategory to the URL for a product. I have tried the normal WP way of doing it, but it hasn’t worked.
Attachments:
You must be logged in to view attached files.September 12, 2024 at 11:57 am #596951
Aizaz Imtiaz AwanKeymasterHello,
Make a category structure with parent and child categories, and use this code in the custom base product permalinks
/%category%/%postname%/
while selecting a category just select the child category and you will have a structure like this http://www.abcdomain.com/category/subcategory/postname
Best Regards
September 13, 2024 at 4:54 am #597131
anees786ParticipantHi,
I made the change but it still hasn’t changed anything – https://pink-donkey-894457.hostingersite.com/Product/quest-pancake-maker-and-grill-6-non-stick-moulds/Happy to provide access to the backend if that’s easier.
ThanksAttachments:
You must be logged in to view attached files.September 13, 2024 at 1:00 pm #597245
Aizaz Imtiaz AwanKeymasterSeptember 14, 2024 at 4:17 am #597404
anees786ParticipantHi,
Thanks for that, it seems to have worked but the URL is not coming through, example – https://pink-donkey-894457.hostingersite.com/home-furniture-diy/cable-and-wire-management/2-way-gang-plug-13a-wall-socket-adaptor-2x-usb-charge-ports-2-4a/Do I need to republish the the items? that wouldn’t be ideal, hopefully there’s a workaround.
ThanksSeptember 14, 2024 at 10:54 am #597438
Aizaz Imtiaz AwanKeymasterHello,
You don’t need to republish the items. Try resetting the permalinks by going to Settings > Permalinks and clicking “Save Changes” without making any changes. This usually updates the URLs. If that doesn’t work, clear your website’s cache.
Best Regards
September 16, 2024 at 1:27 am #597578
anees786ParticipantHi, im still getting an error. I have shared login information, happy for you to login to see if I’ve missed any step. Appreciate the help!
Thanks
September 16, 2024 at 2:35 pm #597715
Aizaz Imtiaz AwanKeymasterHello,
Your given login details are not working. Please share the correct login details then I will check the issue and give you a possible solution.
Best Regards.
September 19, 2024 at 12:34 am #598413
anees786ParticipantHi, sorry for the delay in getting back to you.
Please try the logins again, I have updated the passwords. Thank you
September 19, 2024 at 10:38 am #598521
Aizaz Imtiaz AwanKeymasterHello,
I have seen the error on your site.
https://ibb.co/7g7FNK2Follow this guide and configure it.
https://www.lifewire.com/how-to-fix-a-400-bad-request-error-2617988Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register