allow json uploads in Wordpress

  1. Log in to your WordPress admin dashboard.

  2. Navigate to the "Plugins" section and click on "Add New."

  3. Search for the "WP Add Mime Types" plugin and click "Install Now."

  4. Once the plugin is installed, activate it.

  5. Go to "Settings" and then "Mime Types" in the WordPress admin dashboard.

  6. Scroll down to the "Custom Mime Types" section and add the following JSON mime type: application/json

  7. Save your changes.

  8. Now you should be able to upload JSON files to your WordPress site.