Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved after a just install, WP-JSON API return Not Found

    WordPress (Developer)
    api wordpress wp-json
    2
    3
    990
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JOduMonT
      JOduMonT last edited by girish

      Hi;

      I just deployed WordPress (unmanaged) to experiment with Gatsby and it required the API which return me

      Not Found
      The requested URL was not found on this server.
      
      Apache/2.4.29 (Ubuntu) Server at wp.domain.tld Port 443
      
      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        According to https://stackoverflow.com/questions/23842235/wordpress-jsonapi-wp-json-was-not-found-on-this-server:

        "The WordPress JSON API depends on pretty permalinks, make sure you have them enabled for the site."

        Though a quick read of the linked docs doesn't say anything like that. Does it work in managed WP (where we enable pretty links by default)?

        JOduMonT 1 Reply Last reply Reply Quote 1
        • JOduMonT
          JOduMonT @girish last edited by

          @girish 😭 damn! I almost feel stupid, I just listen to the Gatsby dude which was saying you have nothing to set in your wordpress

          thank for your research and your time 🙂

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Powered by NodeBB