Video: Sitemap With Resource Routes

Remix For Everyone

24 videos

Released: 2021-12-31

User avatar

Instructor

Scott Tolinski
AutoPlay

Sitemap With Resource Routes

How to create a sitemap with resource routes. Resource routes are a way we can serve up routes and not return HTML, instead XML.

export function loader () return new response ('<?xml version="1.0" encoding="UTF-8"?>', {}) <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">