Noogaa

Work with me

How to make a sitemap file with Symfony

Warning : Please notice this article is more than 1 year old. Some mechanics may have changed due to the newer versions of the used tools.

SEO (Search Engine Optimization) is a major point in a website development. If you want your site to stand out from others in search engines results, you have to do some actions that will help you to reach this objective.

A sitemap is one of them.

In this tutorial, we will learn how to make a Symfony sitemap file very easily step by step.

WHAT IS A SITEMAP ?

A sitemap is a XML file that list all the URLs of your website. Search engines like Google have robots that browse the web searching for those sitemaps. Once they found them, search engines index in their results all the URLs present in.

Search engines are able to index your URLs without a sitemap, but it will take way longer time.

MAKE YOUR OWN SITEMAP WITH SYMFONY

In this tutorial, we are considering we have a website called www.mywebsite.com