intelops / website

This is the repo to manage all the website work, which is being developed using hugo framework.
https://intelops.ai
6 stars 21 forks source link

fix for absolute url not showing in sitemap #288

Closed devopstoday11 closed 11 months ago

stackblitz[bot] commented 11 months ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

netlify[bot] commented 11 months ago

Deploy Preview for intelops-website-prod ready!

Name Link
Latest commit 63b8a4ea370cdba91863675754f160b2a74cadb5
Latest deploy log https://app.netlify.com/sites/intelops-website-prod/deploys/65722370a609510009e08a1b
Deploy Preview https://deploy-preview-288--intelops-website-prod.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

devopstoday11 commented 11 months ago

@tfsumon , only this URL is showing absolute path - https://intelops.ai/en/sitemap.xml what about https://intelops.ai/sitemap.xml ?

tfsumon commented 11 months ago

For best practice, the parent page for all other sitemaps is siteurl.com/sitemap.xml, and it should exclusively contain sitemap URLs, not individual page URLs.

The provided sitemap at https://intelops.ai/sitemap.xml displays absolute paths, but these paths point to a sitemap URL rather than individual pages. As your site expands, you can easily add multiple sitemaps to accommodate the growing number of pages.

From Google perspective, having a sitemapindex file is acceptable and recommended. Check out this article to know more - https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps.

image image