make:sitemap
To generate a sitemap.xml
file automatically in the public
directory, you only need to execute a single, simple command. Open your terminal and enter:
This command will efficiently create a sitemap.xml
file for you, ensuring it is placed in the correct public
folder. This process is streamlined and straightforward, saving you the hassle of manually compiling your site's URLs. The generated sitemap will help enhance your website's search engine optimization by providing a clear structure for web crawlers.
Last updated