Are all of the links available by browsing from the front page? I mean without logging in and without needing to go to a "secret" page first
Oct 18, 2020
7
Level 10
How to crawl slugs using spatie sitemap
Am using spatie sitemap to generate sitemap links using a command
public function handle()
{
// modify this to your own needs
SitemapGenerator::create(config('app.url'))
->writeToFile(public_path('sitemap.xml'));
}
This only generate links without slugs like home about and contact page
Please or to participate in this conversation.