qtranslate / qtranslate-xt

qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
550 stars 103 forks source link

With Slugs enabled Woocommerce dont show 404 page for products #1260

Closed spleen1981 closed 1 year ago

spleen1981 commented 1 year ago

Discussed in https://github.com/qtranslate/qtranslate-xt/discussions/1250

Originally posted by **andreysneg** November 12, 2022 If Slugs enabled ( new extension or old slugs plugin ) Woocommerce does not show 404 page for missing products. If product missing site go to Shop page. But must show 404 page if product missing. Its bad for SEO. How remove redirect to shop page ?
spleen1981 commented 1 year ago

Screenshots in #1250 shows that issue is relevant to an old version of this plugin, as class-qtranslate-slug.php has been renamed some time ago. @andreysneg can you update to current master and try to replicate the issue? I've tested briefly and everything seems to work properly.

herrvigg commented 1 year ago

@andreysneg Please try again with last release 3.14.0 and if it still fails re-open this ticket (not discussion) with more info to reproduce the problem.