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

slug issues after updating to 3.13.0 #1272

Closed vonsch76 closed 1 year ago

vonsch76 commented 1 year ago

Just updated to 3.13.0 and some slugs failed to work for certain post types. (With the previous 3.12.1 everything was OK.) Seems that I needed to resave the configuration - without changing anything - and then everything went back to normal. Guess it is a bug. Maybe add a note for others to do so.

herrvigg commented 1 year ago

Mmmm now that you say it, I could understand it's needed for ACF as the page hooks have been moved to admin settings in PHP without JS, but for Slugs I don't see why. Do you also use ACF? Was that necessary in admin or front (for the main users)?

vonsch76 commented 1 year ago

It was a kind of weird issue as I remember. The redirection itself worked fine, so the landing page in the url is the one expected, still received a 404, but only for one of the post types. When the configuration on the admin page is saved again, then the error is gone. Tried also with the earlier version - switching of 3.13 and switching back 3.12 - but nothing changed before saving the admin config once again. The issue came after installing the 3.13 version. No ACF, it is not installed.

SasaHref01 commented 1 year ago

Hello, I just installed version 3.13.0 and I have a problem to manage the slug Can you help me Thank you

vonsch76 commented 1 year ago

What is the problem exactly. I am experiencing data loss with 3.13.0, so went back to 3.12.1 temporarily.

SasaHref01 commented 1 year ago

Hello, thank you for your answer, I happen to have an older version of qtranslate and just updated to QTranslate XT apparently I did not set up the correct configuration of the parameters. but after some research I managed to configure it

Thanks

herrvigg commented 1 year ago

So it works as expected with 3.13.0? I don't see any reason why there would be a regression. The only change is about the initialization sequence. If the init fails you would not even see the slugs fields.

vonsch76 commented 1 year ago

Yes, I have cheked the commits in the meantime and nothing seemed to ground this lost data. Maybe the save settings is also connected, will try to dig in. The page works ok, but nobody likes to loose the fancy links - per language.

SasaHref01 commented 1 year ago

Hello

indeed I still have a problem, the slug by language is well invited by qtranslate TX on the other hand the canonical url is not the right one for the 2nd language knowing that I use Yoast SEO, and apparently it is the slug of the latter which is invited in the canonical url

Thanks for your help

vonsch76 commented 1 year ago

It works, though you need to set basically by post. Also you need to set the categories, etc. From this I have no clue what you are experiencing.

herrvigg commented 1 year ago

It works, though you need to...

I'm not following anymore, is it working or not?

vonsch76 commented 1 year ago

@SasaHref01 comments are not related to the issue.

herrvigg commented 1 year ago

It's getting confusing. Is your issue described in #1275 ? If so we can close this one.

@SasaHref01 if it's not the same issue - apparently another topic with canonical - can you open a new one?

herrvigg commented 1 year ago

I close this ticket for now, it's mixing too many different topics.