wordpress-mobile / wordpress-mobile/WordPress-Android

Connect to wordpress instance on private network

Open
#22,402 3 comments 0 reactions 1 assignee View on GitHub

@jkmassel is already working on this.

Since Dec 17, 2025.

[Type] Bug Login Self-hosted
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

I am self-hosting a WordPress instance internally for my organization. When I enter the URL of that site into this app, I receive an error message:

Check that the site URL entered is valid

From there, I can look at the Logs, which have reference to the REST endpoint mentioned on this line:

https://github.com/wordpress-mobile/WordPress-Android/blob/5385671ec11ba90d3127a7904bfeb6ccac17f3b9/libs/mocks/src/main/assets/mocks/mappings/self-hosted/rest_v11_connect_site_info_self-hosted.json#L4

Specifically, it seems that the app is connecting to an endpoint at https://public-api.wordpress.com/rest/v1.1/connect/site-info/?url=[private site url]

This suboptimal, because

  1. It discloses the location of the private site to WordPress's REST API; and
  2. The site is not accessible from the public internet, so presumably the REST API returns an error message to the Android app client.

Is there a way to use this app with a privately hosted WordPress instance?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.