Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter joan1003

    (@joan1003)

    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:

    1. Whether this is expected behavior when “Use a subdirectory for the default language” is enabled.
    2. Whether /staging/wp-json/ should remain accessible without the /en/ prefix.
    3. If not expected, what specific TranslatePress setting, rewrite rule, or compatibility fix should be applied.
    4. Whether this is a known issue with WordPress installed in a subdirectory.

    We can provide redirect headers or additional staging configuration if needed.

Viewing 1 replies (of 1 total)