AutoIndex is Deprecated since October 2024 Due to changes in Google Indexing API, Autoindex is shutting down. Thank you for your support!
In this blog post we will look into how to automate Google indexing for your Gatsby website using AutoIndex. First, we will cover the steps you need to take in order to setup sitemaps and prepare your Gatsby site and then we’ll show how you can connect them to AutoIndex and start improving your Google search visibility.
Enhance the visibility of your Gatsby website on Google by implementing automatic indexing for every page. This is essential for websites like blogs, portfolios, e-commerce stores, and business sites that aim to appear in pertinent search results. AutoIndex provides a straightforward and efficient method to ensure all pages are indexed quickly and checks regularly for new content. By letting AutoIndex manage the indexing, you can dedicate more time to crafting engaging content for your visitors.
We can break up everything you need to do in just 4 steps: adding sitemaps, connecting you website to Google Search Console is you didn’t already and importing your website to AutoIndex. Let’s look into all these steps one-by-one.
To generate an XML sitemap, you will use the gatsby-plugin-sitemap
package. It’s easy to get started:
gatsby-plugin-sitemap
package:yarn add gatsby-plugin-sitemap
or
npm install gatsby-plugin-sitemap
or
pnpm add gatsby-plugin-sitemap
gatsby-config.js
, like so (Note: The siteUrl property must be defined and not left empty.):module.exports = {
siteMetadata: {
siteUrl: `https://www.example.com`,
},
plugins: [`gatsby-plugin-sitemap`],
};
Next run a build (npm run build) since the sitemap generation will only happen for production builds. This is all that’s required to get a working sitemap with Gatsby! By default, the generated sitemap path is /sitemap-index.xml and will hold an index of sitemap chunks, but the plugin exposes options to configure this default functionality.
You can read more in Gatsby Official Documentation.
This is a straightforward process, but you might need to verify your website ownership if you haven’t already:
Add Property
button and enter your website URL.Sitemaps
section and entering the URL of your sitemap.Once your website is verified in Google Search Console and your sitemap is submitted, you can connect your website to AutoIndex. To do that, follow these steps:
With auto indexing activated, AutoIndex will regularly check your sitemap daily for unindexed pages and initiate the indexing process. You’ll receive email notifications whenever new pages are successfully indexed.
By following these steps and leveraging AutoIndex, you can ensure your WordPress website’s pages are swiftly indexed by Google, increasing visibility and driving relevant traffic to your site.
SEO takes time to pay off. The earlier you notify Google about all your new pages - the faster you see results. Start today!