menu

SiteGenesis / Server-side JS / Module: controllers/SiteMap

Controller that handles site map requests.

Source:

Members

(static) Google

Source:
See:

(static) Start

Renders the sitemap template Serves requests for search provider (Google, Yahoo) XML site maps.

Source:
See:

Methods

(inner) google()

Serves requests for search provider (Google, Yahoo) XML site maps. Reads a given site map and copies it into the request output stream. If this is successful, renders an http_200 template. If it fails, renders the http_404 template. SiteMap Rule:

process sitemaps

RewriteRule ^/(sitemap([^/]*))$ /on/demandware.store/%{HTTP_HOST}/-/SiteMap-Google?name=$1 [PT,L]

Source:

(inner) start()

Renders the sitemap template (sitemap/sitemap template).

Source:

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.