How to connect to WordPress (encountering 404 error) ? And other WordPress related questions

What are you trying to achieve?

I am trying to create a scenerio where I create posts for each row in Google Sheets (there’s a lot). I am currently stuck on how to connect to Wordpress. I was also wondering if I could create ‘custom post-type’ posts or is it just regular posts?

Any help is much appreciated!

Steps taken so far

I am using Wordpress.com and I have the Make plugin installed on wordpress, and I have the API key. I am struggling to figure out what the WordPress REST API base url would be. Correct me if I’m wrong but the example url, “https://my-wordpress-site.com/wp-json” is for WordPress.org, not for WordPress.com. So, I have found that I should use this link, https://public-api.wordpress.com/rest/v1/sites/https://delightfulengineering98.wpcomstaging.com/posts.

However, when I try using the second link, I get a 404 error. Is it because my site is set to private?

2 Likes

Hi @M_Tan

Please try using this url

https://my-wordpress-site.com/?rest_route=/

Regards,
Msquare Automation - Platinum Partner of Make
@Msquare_Automation

1 Like