Sitemap for Jekyll

Sep 20, 2014
Sitemap let’s search engine index your website and fetch url of your website to display it in the appropriate search result that they are going to be provide to their users for a specific search term, without a sitemap a website would not be indexed correctly and not all links to the website will be available in search results, this might become a reason why the website is viewed/visited in a very small number and has only some links, pages, posts are viewed by a visitor, Most Jekyll users prefer plugins to build their Sitemap and some plugins might take a good amount of system resource which might increase the time it takes to build your website source, Here is how to create a `sitemap.xml` file using simple Liquid for templating engine the default Jekyll templating language.

Create a sitemap.xml in your jekyll based website folder.

Now add this to your sitemap.xml that we have just created.

Now you can build your website.

jekyll build  

See you website in action.

jekyll serve  

Visit here.

Now we have a sitemap.xml for our website that can be submitted to the prefered search engine webmaster.

If you have any problem feel free to leave a comment below.

If you like this content, please consider buying me a coffee.

Buy me a coffeeBuy me a coffee

You will get access to contributer exclusive resources and content.

Thank you!

Darryl Dias

I am a student, artist, and author currently living in Florida. My interests range from technology to arts. I am also interested in programming, writing

Analytics by GoSquared