3. Disable the sitemap feature for Custom Layouts. Some demo data imported with Astra Pro or the free version uses custom header code to design web pages, which by default is included in the sitemap file. These files are not suitable for search engine crawling, so we disable them in the sitemap to prevent them from being crawled by search engines. For extra safety, when editing layouts in Custom Layouts, you can set the page property to noindex via Rank Math.How to set up the sitemap.xml file after building a website with the Astra theme yourself
Building a website yourself is also quite simple. Purchase a domain and server, set up WordPress, and then combine it withAstra multipurpose theme, you can design a beautiful website. This article teaches youHow to set up the sitemap.xml file for the Astra theme。 After the website is installed, how do you add a sitemap?Naibabiji has previously written a dedicated article on this. For further reading, please visit the article below: Here, we will use the free advanced SEO plugin Rank Math to set up the sitemap for the Astra theme.1. Install the Rank Math plugin. Search in the backend plugin library or click the link below to download the installation package and upload it for installation.Download LinkIf you want to learn more about how to set up Rank Math, please refer to the article below:2. Enable Rank Math. The sitemap feature is enabled by default in the settings. Let's go to the sitemap settings interface.
3. Disable the sitemap feature for Custom Layouts. Some demo data imported with Astra Pro or the free version uses custom header code to design web pages, which by default is included in the sitemap file. These files are not suitable for search engine crawling, so we disable them in the sitemap to prevent them from being crawled by search engines. For extra safety, when editing layouts in Custom Layouts, you can set the page property to noindex via Rank Math.
3. Disable the sitemap feature for Custom Layouts. Some demo data imported with Astra Pro or the free version uses custom header code to design web pages, which by default is included in the sitemap file. These files are not suitable for search engine crawling, so we disable them in the sitemap to prevent them from being crawled by search engines. For extra safety, when editing layouts in Custom Layouts, you can set the page property to noindex via Rank Math.🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step.
「Naibabiji WordPress Website Building Coaching Service」—From choosing a domain and buying hosting, to installing a Theme and publishing content, I「ll coach you through every step, helping you avoid detours and reach your goal directly.
👉 Learn about the Website Building Coaching Service
Comments are closed
The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.