maximeschoeni / sublanguage

Multilanguage plugin for wordpress
42 stars 13 forks source link

Problem with products permalinks #69

Open alexdx-ca opened 1 year ago

alexdx-ca commented 1 year ago

I have a problem with this functionality: _Permalink base slug is originally: /catalog/%productcat%. It is overwrited by Sublanguage.

When I put "catalog/%product_cat%" as Post Type Permalink Base products got 400 error because of wrong URL (/catalog/%product_cat%/womens-softstyle-tee-8/)

It literally puts "%product_cat%" in the URL instead of category.

How this could be fixed? I need fix ASAP because this behavior is ruining my SEO. Thank you in advance.

aerdemsenturk commented 2 months ago

I have the same problem. It's not just with products, but there's a similar issue with post categories as well. When I try to view the category from the admin panel (/wp-admin/edit-tags.php?taxonomy=category), I encounter an address like this:

/%category-slug%/general/

aerdemsenturk commented 2 months ago

It seems this is also same issue since 2018:

https://github.com/maximeschoeni/sublanguage/issues/36#issuecomment-421533541