How to Configure Pages Sitemaps in CranSEO #
CranSEO allows you to manage how your pages appear in XML and HTML sitemaps, helping search engines properly index your most important content.
1. Include in Sitemap #
This setting controls whether pages are included in the XML sitemap.
How to Enable: #
- Navigate to CranSEO > Sitemap Settings.
- Find the Pages section.
- Toggle Include in Sitemap to On to add pages or Off to exclude them.
- Click Save Changes.
Best Practice: Only include essential pages like service pages, landing pages, and important content pages. Exclude duplicate or low-value pages.
2. Include in HTML Sitemap #
If your site has an HTML sitemap, you can choose whether to include pages in it.
How to Enable: #
- Go to CranSEO > Sitemap Settings.
- Locate Include in HTML Sitemap under the Pages section.
- Toggle On to add pages or Off to exclude them.
- Save changes.
Note: The HTML sitemap helps users navigate your website while also assisting with internal linking for SEO.
3. Image Custom Fields #
If your pages use custom fields (post meta) to store image URLs, you can manually add them so CranSEO includes them in the sitemap.
How to Configure: #
- Navigate to CranSEO > Sitemap Settings.
- Find the Image Custom Fields section under Pages.
- Add the custom field names that contain image URLs, entering one per line.
- Click Save Changes.
Example:
custom_page_image
header_banner_url
page_thumbnail_url
Best Practice: Adding image metadata ensures that search engines index all important visuals, improving image search visibility.
Final Tips for Optimizing Page Sitemaps #
- Include only relevant pages that you want indexed.
- Use custom fields to ensure all key images are included.
- Regularly update sitemap settings as your site grows.