> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sociablekit.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to ensure WordPress blog data is public?

To display your WordPress blog posts on external platforms using tools like SociableKIT, your WordPress site must allow public access to its **REST API**.

### What is the WordPress REST API?
The REST API is a built-in feature of WordPress that enables external apps and services to retrieve your site’s data, including blog posts. If it’s disabled or blocked, your blog data won’t be accessible publicly.


### How to Check if Your REST API is Enabled
To test if the REST API is publicly accessible:
1. Open your browser.
2. Go to this URL (replace with your actual website domain):
```
https://yourwebsite.com/wp-json/wp/v2/posts
```
3. If you see a list of your blog posts in code format (JSON), your REST API is **enabled**.

If you see an error like “Access restricted” or “404 not found,” your REST API may be disabled or blocked.

### How to Enable the REST API
Here are common ways to ensure the REST API is working properly:

1. Check for Security Plugins Blocking Access
Some security or privacy plugins (like Wordfence, iThemes Security, or Disable REST API) might block the REST API.
* Go to your WordPress admin panel.
* Navigate to **Plugins > Installed Plugins**.
* Deactivate any plugins that may block the REST API.
* Alternatively, check the plugin’s settings for options to **allow REST API access**.

2. Ensure Your Site is Public
* In the WordPress dashboard, go to **Settings > Reading**.
* Make sure **"Discourage search engines from indexing this site"** is **unchecked**.
built-in feature of WordPress that enables external apps and services to retrieve

3. Fix .htaccess or Firewall Rules (for advanced users)
Custom rules in `.htaccess` or server firewall settings may block API access. If you're not sure, contact your hosting provider for help.