Sitemap Generator

🕹 Sitemaps Creation and Validation

# Simple generation usage:
npx seo-master create sitemap -w https://www.nayanui.com
# Advanced generation Usage:
npx seo-master create sitemap --website https://www.nayanui.com --depth 10 --changefreq daily --output ./sitemap.xml
You can also use the shorter version of this command.
npx seo-master create sitemap -w https://www.nayanui.com -d 10 -f daily -o ./sitemap.xml
You can also integrate Sitemaper with your localhost
npx seo-master create sitemap -w http://localhost:3000 -r https://www.nayanui.com -d 10 -f daily -o ./sitemap.xml
this case it crawl your localhost URL and replace it with replacement URL.
# Attributes
NameAttributeTypeDefaultDetails
Website URL--website / -wstringThe URL of the website to crawl.
Replacement Website--replacer / -rstringThe URL of the website to be replaced. This will be mostly useful to crawl localhost and replace it with original URL.
Crawling depth--depth / -dnumber10Depth of the website to crawl.
Change frequency--changefreq / -fstringdailyChange frequency for the sitemap. Possible options are: always, hourly, daily, weekly, monthly, yearly, never.
Output--output / -ostring./sitemap.xmlOutput path for the sitemap.xml.
# Sitemap validation usage:
Validate your sitemap both local and through URL.
npx seo-master validate sitemap --input ./sitemap.xml
You can also use the shorter version of this command.
npx seo-master validate sitemap -i ./sitemap.xml
You can also validate sitemap.xml of your live website by passing URL.
npx seo-master validate sitemap --input https://www.nayanui.com/sitemap.xml --isremote true
# Attributes
NameAttributeTypeDefaultDetails
Input sitemap--input / -istring./sitemap.xmlInput path for the sitemap.xml.
Is Remote--isremote / -irbooleanfalsePass true if sitemap is hosted somewhere.