Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 on REST API on adding default language prefix to url #1375

Open
nalato opened this issue Sep 20, 2023 · 2 comments
Open

404 on REST API on adding default language prefix to url #1375

nalato opened this issue Sep 20, 2023 · 2 comments
Labels
maybe bug Potential bug, to be investigated

Comments

@nalato
Copy link

nalato commented Sep 20, 2023

I use a Woocommerce payment gateway named Payplug (https://wordpress.org/plugins/payplug/). In backend this plugin call a REST API url https://beta.sestogrado.it/it/?rest_route=/payplug_api/init that give a 404 error.
'it' is the default language and the language that I set in the front-end.
When I set hide_default_language on, there is no 404 error and all works fine.
I think this problem can also occur with other plugins that use REST API.
There is a solution to add an exception to this REST API redirection?
Many thanks
immagine

@nalato nalato added the maybe bug Potential bug, to be investigated label Sep 20, 2023
@spleen1981
Copy link
Contributor

is this same as #1273?

@nalato
Copy link
Author

nalato commented Jan 10, 2024

No, slugs translations module is disabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maybe bug Potential bug, to be investigated
Projects
None yet
Development

No branches or pull requests

2 participants