You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I discovered a new issue where the slug plugin is kind of unstable. This is also related to a Woocommerce Product categories. The category has been working fine but suddenly it started giving a 404. The only thing I needed to do was to change the slug with one character (I changed "powerboat" -> "power_boat") and then everything was back to normal.
When the error occurs the expected url/slug is shown and the category works in the default language but not the other (default i Finnish and the other is English, English not working). All other categories work fine, it is just this one category that started acting strange.
The text was updated successfully, but these errors were encountered:
Hi @The3IC , there's a precedence between posts, pages, custom post types and then taxonomies. could it be that the slug 'powerboat' is being used other place? we try to make the slugs unique across same type and check a bunch of other query info, but in some configurations ( without the base /category/ for example, or without the woocommerce prefix ), there will be some slug collisions. Can you confirm?
Hi. Actually it turned out to be an image also this time, now the image name was the same slug (slug: powerboat, image title: powerboat and image filename: powerboat.png. Didn't think of testing just editing the title before I uploaded a new version of the file, now with the filename and title changed, the slug again works.
so it was a collision with that attachment. This is bothersome, as there's no warning from qts that this happens. I need to improve these collisions. thanks for reporting!
LC43
changed the title
Unstable operation with product category
Custom taxonomies slugs clash with attachment slugs
Feb 28, 2017
I discovered a new issue where the slug plugin is kind of unstable. This is also related to a Woocommerce Product categories. The category has been working fine but suddenly it started giving a 404. The only thing I needed to do was to change the slug with one character (I changed "powerboat" -> "power_boat") and then everything was back to normal.
When the error occurs the expected url/slug is shown and the category works in the default language but not the other (default i Finnish and the other is English, English not working). All other categories work fine, it is just this one category that started acting strange.
The text was updated successfully, but these errors were encountered: