joan1003
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Thank you, I also opened a ticket in translatepress.com as per your request.
Here are the staging details and the behavior we are seeing:
- WordPress staging URL:
https://godleetikas.net/staging/ - TranslatePress default language uses the
/en/subdirectory. - This endpoint works correctly:
https://godleetikas.net/staging/en/wp-json/ - REST endpoints under
/staging/en/wp-json/...also work correctly. - The equivalent REST endpoint without
/en/, for example:https://godleetikas.net/staging/wp-json/
enters a redirect loop / does not resolve correctly. - Normal frontend requests to
/staging/are also automatically redirected to/staging/en/. - WordPress is installed in the
/staging/subdirectory.
We have already verified that the REST API itself is functional and that authenticated/protected REST endpoints behave correctly under
/staging/en/wp-json/.Could you please confirm:
- Whether this is expected behavior when “Use a subdirectory for the default language” is enabled.
- Whether
/staging/wp-json/should remain accessible without the/en/prefix. - If not expected, what specific TranslatePress setting, rewrite rule, or compatibility fix should be applied.
- Whether this is a known issue with WordPress installed in a subdirectory.
We can provide redirect headers or additional staging configuration if needed.
- WordPress staging URL:
Viewing 1 replies (of 1 total)