• Resolved tomdkat

    (@tomdkat)


    Hi! In the “Live Traffic” log, I see traffic from IPs, originating from different countries, accessing various pages using the WP REST API. The technique in question is described here:

    https://wordpress.stackexchange.com/questions/222547/wp-rest-api-retrieve-content-from-page

    My question: is there any security issue related to accessing pages in this manner vs using the site’s navigation menu? In the navigation menu, I’ll have a URL that looks like this:

    {domain}/contact

    for example. That page would be accessed as:

    {domain}/wp-json/wp/v2/pages/<id>

    using the WP REST API.

    I want to make sure accessing pages via the WP REST API won’t leak any info or be used for hacking purposes.

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Question about WP REST API and site pages’ is closed to new replies.