Closed Codycody31 closed 1 year ago
There is a bug in the sitemap generated on dev site. Happens when visiting https://dev.atisgenerator.com/sitemap.xml
. Might not happen on prod site. but unsure of it.
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url>
<loc>https://localhost/dev.atisgenerator.com/https:/dev.atisgenerator.com</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
</urlset>
This was fixed. Was a bug in the env file on the dev site.
Description
Implement automatic generation of sitemaps using the spatie/laravel-sitemap package to enhance SEO and improve search engine indexing.
Suggested Solution
Utilize the spatie/laravel-sitemap package to create a command or scheduled task that generates sitemaps as per the defined routes and models in the application.
Alternatives
Manually generating sitemaps or using alternative packages may require more effort and maintenance.
Additional Context
Including an automatically generated sitemap will benefit search engine crawlers and improve the discoverability and visibility of the application's pages.