VMGWARE / vATCSuite

vATC Suite provides virtual air traffic controllers with tools to generate and deliver essential airport information. Easily create ATIS broadcasts, AWOS weather reports, and pre-departure clearances to enhance realism in online flying networks.
https://atisgenerator.com/
Apache License 2.0
1 stars 0 forks source link

[Feature]: Auto-generate sitemap using spatie/laravel-sitemap #10

Closed Codycody31 closed 1 year ago

Codycody31 commented 1 year ago

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.

Codycody31 commented 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>
Codycody31 commented 1 year ago

This was fixed. Was a bug in the env file on the dev site.