Bug in Osclass page permalink setting when Language code in URL is enabled
on :November 8, 2024, 3:19 am #815
Hello,
We have noticed one bug in Osclass core code.
when "Language code in URL" is enabled in general settings. and permalink rule for Page URL: is changed to "{PAGE_SLUG}" only then home page of site for other language return 404 error page.
Also some other pages also return 404 error page on site.
This happens only when two conditions are true:
1) when "Language code in URL" is enabled in general settings
2) and permalink rule for Page URL: is changed to "{PAGE_SLUG}" only.
After changing these two setting when you change language on front end you get the 404 error page on homepage and on some other pages.
I don't want use help/{PAGE_SLUG} And I don't want this {PAGE_SLUG}-p{PAGE_ID}
Because the link is long and not good for SEO
If it is possible to find a solution by using {PAGE_SLUG} only
Please let us know how we can fix this.
Thank You
Re: Bug in Osclass page permalink setting when Language code in URL is enabled
on :November 11, 2024, 1:09 am #816
Hello
Is there anything new if you can provide a solution to this Bug it will be appreciated
Thank you
Re: Bug in Osclass page permalink setting when Language code in URL is enabled
on :November 12, 2024, 4:14 pm #817
I didn't have time to check.
Re: Bug in Osclass page permalink setting when Language code in URL is enabled
on :November 12, 2024, 6:51 pm #818
Thank you for replying. If you have the time, please help me find a solution. This would be greatly appreciated.
Best regards.
Re: Bug in Osclass page permalink setting when Language code in URL is enabled
on :November 13, 2024, 3:24 pm #819
site-url/something is considered a category
So is normal to get 404 from this because that category does not exists.
Re: Bug in Osclass page permalink setting when Language code in URL is enabled
on :November 13, 2024, 6:23 pm #820
Is it possible to customize something in the code so that we can bypass this error?
Re: Bug in Osclass page permalink setting when Language code in URL is enabled
on :November 14, 2024, 9:02 am #821
It's not an error, it's working how is supposed to work.
Everything after the url will be considered a category, if you change this behavior you will have issue with categories, you will get 404 on categories link.