paint-brush
How to Generate Sitemaps Using Laravel on the Flyby@spekulatius
256 reads

How to Generate Sitemaps Using Laravel on the Fly

by Peter2mMarch 30th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Sitemaps are XML-files containing structured data about the pages of the website. They are helpers for search-engines to discover all relevant pages and content on a website. If you are using a framework such as Laravel you can create these on the fly or whenever you publish or update your content. It's heavily reliant on PHP Spider, a crawler package for PHP. The sitemap crawler crawler uses some regex to identify the most interesting parts of the site. More detail can be found on the GitHub repo for Laravel-Sitemaps.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How to Generate Sitemaps Using Laravel on the Fly
Peter HackerNoon profile picture
Peter

Peter

@spekulatius

Building side-projects and learning new stuff every day.

Learn More
LEARN MORE ABOUT @SPEKULATIUS'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Peter HackerNoon profile picture
Peter@spekulatius
Building side-projects and learning new stuff every day.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Roocket