Check out example codes for "seo optimization for website laravel". It will help you in understanding the concepts better.

Code Example 1

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
   <url>
      <loc>http://www.example.com</loc>
      <lastmod>2020-01-01</lastmod>
      <changefreq>daily</changefreq>
      <priority>0.8</priority>
   </url>

   <url>
      <loc>http://www.example.com/abc</loc>
      <lastmod>2020-01-02</lastmod>
      <changefreq>daily</changefreq>
      <priority>0.8</priority>
   </url>

   ...
   ...
</urlset>Copy

Learn ReactJs, React Native from akashmittal.com