WordPress have a important feature called WP_REST to create customised api actions In some cases these actions won’t work properly when you switch the code to different server. It will simply through 404 error code. Solution 1: Check your apache server config file for mod_rewrite module is enabled or not. Also refer. how to check […]