Sitemaps


To generate categories, tags, posts and authors sitemaps, you need to set up the laravel schedule commands cron job on your server.

  • Locally or in VPS:
    • Run command php artisan schedule:run.
  • On Hosting:
    • Add New Cron Job.
    • Select Once Per Five Minutes(*/5****) from common settings.
    • Copy your general example into command input, then replace path/to/cron/script with artisan schedule:run.
    • ...

Don't forget to replace https://domain.com/sitemap.xml with your domain in robots.txt file located in public folder.

You can access your sitemap going to sitemap.xml e.g. https://cblog.corakdev.com/sitemap.xml