You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kevin Hoffman edited this page Jul 6, 2018
·
8 revisions
Local development of the WP Business Reviews Server plugin requires two local WordPress sites to mimic the client-server relationship. Complete the setup steps for both websites below.
Set Up WordPress Site #1: Local Client Site
This site represents the end user who has downloaded the WP Business Reviews plugin.
Create a new local WordPress site at wpbusinessreviewsclient.test. This domain must be used in order for the local dev flags to work correctly.
Setting these constants links the Connect to Facebook button to wpbusinessreviews.test for testing. If this constant is not set to development, then the plugin will attempt to authenticate through wpbusinessreviews.com.
Set Up WordPress Site #2: Local Server Site
Create a new local WordPress site at wpbusinessreviews.test. This domain must be used in order for the local dev flags to work correctly.
Ensure that the wpbusinessreviews.test URL is listed among valid OAuth redirect URLs in the Facebook app settings at App Dashboard > Facebook Login > Settings > Valid OAuth Redirect URLs. It should already be there, but double-check to be sure.
Begin Development
The local environment should now be ready for development.