Remove REST API Link

WordPress adds the REST API link to the <head> section of your site and expose the Rest API endpoint to the public. This module removes the REST API link from the site.

Do note that it only removes the REST API link. It doesn’t disable REST API from your WordPress site.

Activate the Remove REST API link Module

In the Admin Optimizer page, click to enable the Remove REST API link module. Press Save Changes to save the changes.

Activate Remove Rest Api Link Module

No configuration is required for this module to work.

Check if Remove REST API link Module is Working

Before activating this module, check the source code (right-click on the web page and click “Inspect”) of your frontend site. In the <head> section, you should see a rel="https://api.w.org" tag showing your site’s API link.

Rest Api Link Frontend

After activating the module, check the source code again. The rel="https://api.w.org" tag will be gone.