Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator bcworkz

    (@bcworkz)

    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

    (@djprison)

    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

    So my problem is just solved if i find the Site ID

    Moderator bcworkz

    (@bcworkz)

    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/

    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
    v2.0b9 – https://wordpress.org/support/plugin/rest-api

    Thread Starter DjPrison

    (@djprison)

    my clients domain is like this wordpress.net/domain

    And yea thats what im trying to say

    Moderator bcworkz

    (@bcworkz)

    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

    (@djprison)

    yea its multi-site

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

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