1

I am developing a blogging site using Wordpress as backend and Laravel as frontend with the help of WP Rest api v2 but i am having trouble with data accessing authentication.

My website have been developed but problem is that i want my website content could not be accessed by another site using http://localhost/wp-json/wp/v2 url. Example:

http://localhost/wp-json/wp/v2/posts

using above url i can access posts data but i want to restrict another server from accessing data in their website.

Narayan
  • 1,670
  • 1
  • 19
  • 37
Amit Kumar
  • 143
  • 3
  • 15

0 Answers0