Episode 38 • Making websites with October CMS

Creating Sitemap.xml

In this episode I'm going to show you how to generate sitemap.xml file for your October CMS website by hand.

There are sitmap plugins for October CMS that you can use, and that is ok. The problem with that is that they mostly support only Pages, Static Pages and Blog plugin out of the box. For any other model on your site you would have extend that plugin to recognize your custom model.

So that is one way you could tackle the sitemap problem. The other way, that I will show you in this video is to create a Route that will return a view with XML sitemap. I think that by doing this you have much more control over how your sitemap will look.

Icon in the video made by Freepik from www.flaticon.com is licensed by CC 3.0 BY

Download code
  • Episode 01 • Duration 12:09

    Installing October CMS

  • Episode 02 • Duration 21:44

    Basic Concepts

  • Episode 03 • Duration 09:18

    Creating Themes

  • Episode 04 • Duration 16:56

    Setting Up Laravel Elixir

  • Episode 05 • Duration 19:12

    Builder Plugin Overview

  • Episode 06 • Duration 11:11

    Basic Templating

  • Episode 07 • Duration 10:27

    Displaying Lists and Details

  • Episode 08 • Duration 08:17

    Slugs And Pagination

  • Episode 09 • Duration 14:57

    Images And Galleries

  • Episode 10 • Duration 17:25

    Relations

  • Episode 11 • Duration 07:35

    Inverse Relations

  • Episode 12 • Duration 09:26

    Repeater field

  • Episode 13 • Duration 19:54

    Creating Custom Form Widgets

  • Episode 14 • Duration 32:16

    Saving Form Widget Data

  • Episode 15 • Duration 15:23

    Creating New Data via Form Widget

  • Episode 16 • Duration 11:30

    Creating a Simple Component

  • Episode 17 • Duration 15:48

    Adding Options to Components

  • Episode 18 • Duration 27:00

    Creating Contact Form

  • Episode 19 • Duration 10:25

    Form validation

  • Episode 20 • Duration 13:17

    Frontend Forms

  • Episode 21 • Duration 19:12

    Users

  • Episode 22 • Duration 17:36

    Ajax Form Validation

  • Episode 23 • Duration 16:41

    Extending User Plugin

  • Episode 24 • Duration 10:53

    Extending User Plugin - Frontend

  • Episode 25 • Duration 09:52

    NEW! Ajax Form Validation

  • Episode 26 • Duration 10:34

    Uploading Images From Frontend

  • Episode 27 • Duration 15:39

    Seeding With Faker

  • Episode 28 • Duration 13:46

    Search

  • Episode 29 • Duration 22:30

    PHP block

  • Episode 30 • Duration 11:42

    Seeding With Routes

  • Episode 31 • Duration 10:55

    Success and Error Messages in Forms

  • Episode 32 • Duration 15:53

    Groups and Permissions

  • Episode 33 • Duration 16:41

    Static Pages and Menus

  • Episode 34 • Duration 15:50

    Backend Lists

  • Episode 35 • Duration 12:08

    Backend Filters

  • Episode 36 • Duration 22:21

    Relation Manager

  • Episode 37 • Duration 25:29

    Laravel Mix and Webpack

  • Episode 38 • Duration 10:52

    Creating Sitemap.xml

  • Episode 39 • Duration 32:07

    Frontend Filters

  • Episode 40 • Duration 05:24

    Semantic UI

  • Episode 41 • Duration 34:13

    Ajax Frontend Filters

  • Episode 42 • Duration 13:04

    Ajax Frontend Sorting

  • Episode 43 • Duration 17:24

    Ajax Pagination

  • Episode 44 • Duration 13:54

    Update October CMS to Laravel 5.5 with Valet

  • Episode 45 • Duration 12:33

    Ajax Image Upload

  • Episode 01 • Duration 12:09

    Installing October CMS

  • Episode 02 • Duration 21:44

    Basic Concepts

  • Episode 03 • Duration 09:18

    Creating Themes

  • Episode 04 • Duration 16:56

    Setting Up Laravel Elixir

  • Episode 05 • Duration 19:12

    Builder Plugin Overview

  • Episode 06 • Duration 11:11

    Basic Templating

  • Episode 07 • Duration 10:27

    Displaying Lists and Details

  • Episode 08 • Duration 08:17

    Slugs And Pagination

  • Episode 09 • Duration 14:57

    Images And Galleries

  • Episode 10 • Duration 17:25

    Relations

  • Episode 11 • Duration 07:35

    Inverse Relations

  • Episode 12 • Duration 09:26

    Repeater field

  • Episode 13 • Duration 19:54

    Creating Custom Form Widgets

  • Episode 14 • Duration 32:16

    Saving Form Widget Data

  • Episode 15 • Duration 15:23

    Creating New Data via Form Widget

  • Episode 16 • Duration 11:30

    Creating a Simple Component

  • Episode 17 • Duration 15:48

    Adding Options to Components

  • Episode 18 • Duration 27:00

    Creating Contact Form

  • Episode 19 • Duration 10:25

    Form validation

  • Episode 20 • Duration 13:17

    Frontend Forms

  • Episode 21 • Duration 19:12

    Users

  • Episode 22 • Duration 17:36

    Ajax Form Validation

  • Episode 23 • Duration 16:41

    Extending User Plugin

  • Episode 24 • Duration 10:53

    Extending User Plugin - Frontend

  • Episode 25 • Duration 09:52

    NEW! Ajax Form Validation

  • Episode 26 • Duration 10:34

    Uploading Images From Frontend

  • Episode 27 • Duration 15:39

    Seeding With Faker

  • Episode 28 • Duration 13:46

    Search

  • Episode 29 • Duration 22:30

    PHP block

  • Episode 30 • Duration 11:42

    Seeding With Routes

  • Episode 31 • Duration 10:55

    Success and Error Messages in Forms

  • Episode 32 • Duration 15:53

    Groups and Permissions

  • Episode 33 • Duration 16:41

    Static Pages and Menus

  • Episode 34 • Duration 15:50

    Backend Lists

  • Episode 35 • Duration 12:08

    Backend Filters

  • Episode 36 • Duration 22:21

    Relation Manager

  • Episode 37 • Duration 25:29

    Laravel Mix and Webpack

  • Episode 38 • Duration 10:52

    Creating Sitemap.xml

  • Episode 39 • Duration 32:07

    Frontend Filters

  • Episode 40 • Duration 05:24

    Semantic UI

  • Episode 41 • Duration 34:13

    Ajax Frontend Filters

  • Episode 42 • Duration 13:04

    Ajax Frontend Sorting

  • Episode 43 • Duration 17:24

    Ajax Pagination

  • Episode 44 • Duration 13:54

    Update October CMS to Laravel 5.5 with Valet

  • Episode 45 • Duration 12:33

    Ajax Image Upload