Title: Rest API subdomain
Last modified: August 30, 2016

---

# Rest API subdomain

 *  [DjPrison](https://wordpress.org/support/users/djprison/)
 * (@djprison)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/rest-api-subdomain/)
 * Hey
 * I have problem with getting information from blog with subdomain.
    I took it 
   here [https://developer.wordpress.com/docs/api/1.1/get/sites/%24site/](https://developer.wordpress.com/docs/api/1.1/get/sites/%24site/)
   and this one [https://public-api.wordpress.com/rest/v1.1/sites/$site](https://public-api.wordpress.com/rest/v1.1/sites/$site)
   So i need to add example.com/blog to this $site but it doesnt give me any information.
   Just white page. I used this tutorial [https://www.youtube.com/watch?v=08nTjJWix0o](https://www.youtube.com/watch?v=08nTjJWix0o)
   I tried reading every doc that is available but i didnt find any answer.
 * Thanks for help 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/rest-api-subdomain/#post-6869162)
 * You’ll have to forgive me if I cover things here that were covered in the video.
   I just can’t take the time to watch the video, even assuming I can work around
   the Thai(?) narration.
 * First of all, you do understand you currently need the WP REST API plugin installed
   and activated, right? It has not yet been incorporated into core.
 * The white page you see is often called the White Screen of Death (WSoD). It’s
   not nearly as dire as MS Window’s Blue Screen of Death. It usually just means
   there’s a PHP error somewhere. In order to know what the error is, either check
   your error logs or define WP_DEBUG as `true` in wp-config.php.
 * Once we know the actual error we’ll hopefully have a better idea about what to
   do next.
 *  Thread Starter [DjPrison](https://wordpress.org/support/users/djprison/)
 * (@djprison)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/rest-api-subdomain/#post-6869263)
 * Even i dont understand Thai, but i need help with WP REST API.
    And the reason
   why i get white page, is that it doesnt accept subdomains. But i figured out 
   that you could use SITE ID in it too. But my client have different Dashboard 
   then my test site. his looks like this [http://i.imgur.com/bvGDU51.png](http://i.imgur.com/bvGDU51.png)
 * So my problem is just solved if i find the Site ID
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/rest-api-subdomain/#post-6869315)
 * Your client’s dashboard looks quite normal. Site ID relates to wordpress**.com**.
   Using .com documentation is not going to translate directly to sites based on
   wordpress**.org**. Please use this documentation: [http://wp-api.org/](http://wp-api.org/)
 * Are you saying that the subdomain works for normal requests, the only issue is
   with REST endpoints? If so you should ask about this at the plugin’s dedicated
   support forum: v1.2.4 – [https://wordpress.org/support/plugin/json-rest-api](https://wordpress.org/support/plugin/json-rest-api)
   
   v2.0b9 – [https://wordpress.org/support/plugin/rest-api](https://wordpress.org/support/plugin/rest-api)
 *  Thread Starter [DjPrison](https://wordpress.org/support/users/djprison/)
 * (@djprison)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/rest-api-subdomain/#post-6869344)
 * my clients domain is like this wordpress.net/domain
 * And yea thats what im trying to say
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/rest-api-subdomain/#post-6869366)
 * So this is one site of a multi-site WP installation? Multi-site often requires
   special consideration, so you definitely should inquire in one of the dedicated
   support forums I linked previously.
 *  Thread Starter [DjPrison](https://wordpress.org/support/users/djprison/)
 * (@djprison)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/rest-api-subdomain/#post-6869367)
 * yea its multi-site

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Rest API subdomain’ is closed to new replies.

## Tags

 * [subdomain](https://wordpress.org/support/topic-tag/subdomain/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 6 replies
 * 2 participants
 * Last reply from: [DjPrison](https://wordpress.org/support/users/djprison/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/rest-api-subdomain/#post-6869367)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
