Last Updated on November 9, 2020 by Kings
- Via Google Instant Index Api on WordPress
- Google inspect Tool
How to Use Google Instant Indexing Api in WordPress
Create a Service Account
fill in your details on the create service account page. Just enter your name and description for your new project then copy the Service Account ID and now click on Create button located at the bottom.
Make sure you copy and save your Service Account ID because you will be needing it later as we advance on this tutorial.
On the next page, you can now change the role to the owner, your plugin will not work properly if you do not change it to the owner.
Click on continue and download the file that contain your API key by clicking the Create Key button
You have two options, JSON and P12 make sure to select JSON format when asked in the overlay pop up box, then click Create.
Yaay! we are done for this step, it is now time to add the service account to search console property.
How to Add Service Account as owner of your Google Search Console Property
To add the service account to search console property you need a verified search console account; if you do not have you can create and verify one with your domain.
After verifying your domain/property, open Google Search Console dashboard, select your property and click on Settings near the bottom. If you have different properties ensure to select the appropriate one.
To proceed further, click on Users and Permission.
Now click on three (3) dots that is located next to your account
Now click on Manage property owners
When you click on Manage property owners a page will open in a new tab, Scroll down and click on Add an owner button which is located in the Verified owners section.
Now enter the Service account ID which i told you to keep safe earlier, paste it in the Verified owners email address field and click Continue.
The Service account ID should look like something like the one below.
You can now go back and refresh previous tab. You should also see the Service account listed as a Verified Owner.
Everything is all set, time to configure the plugin.
How to Configure Google Instant Indexer Plugin
After the installation and activation of the google instant indexer plugin, before you can enjoy the full feature you must activate it. You have two options to either upload the JSON code as a zip file or paste it on Instant Indexing console. To locate Instant Indexing on your WordPress site go to Rank Math >> Instant Indexing from your WordPress admin panel, and paste in the contents of your JSON file, or just upload the file.
Select the Post Types where you want the Indexing API to ping Google to crawl your website as soon as a post is published, updated, or deleted and click on Save Changes.
Congrats, you have successfully added google instant indexer to your website, to index your new articles go to Rank Math >> instant indexing >> Console.
Paste the URL which you want to index right there, click on Send to Api and index request will be sent immediately.
Note that you will also find the instant index feature on your post page, instead of returning to the index tab always you can just quickly index it from the post page.
Below is an alternative for non wordpress users who still want to get there post indexed instantly, you can use the google inspect tool.
How to Instantly Index Your Website via Google Inspect Tool
Login to your Google search console dashboard make sure you are in the Overview section. Navigate to inspect any URL, copy the link you want google to crawl and paste it on the inspect any URL box and then hit the Enter button on your PC and you will see a pop up screen that says
After filling Captcha and submitting index request, search the url on google you will find out it has been crawled and indexed already just like the below snapshot, i used this post for example and you can see it was crawled in less than 15 minutes.