diff --git a/app.js b/app.js index 3f693f2a9a..5fad3f089a 100644 --- a/app.js +++ b/app.js @@ -334,7 +334,7 @@ app.post('/account/profile', userController.postUpdateProfile); app.post('/account/password', userController.postUpdatePassword); app.post('/account/delete', userController.postDeleteAccount); app.get('/account/unlink/:provider', userController.getOauthUnlink); -app.get('/sitemap', resourcesController.sitemap); +app.get('/sitemap.xml', resourcesController.sitemap); /** * API examples routes. diff --git a/views/resources/sitemap.jade b/views/resources/sitemap.jade index b14b43694e..84839975bc 100644 --- a/views/resources/sitemap.jade +++ b/views/resources/sitemap.jade @@ -2,79 +2,79 @@ doctype xml urlset(xmlns="http://www.sitemaps.org/schemas/sitemap/0.9") url - loc= http://www.freecodecamp.com/ + loc http://www.freecodecamp.com/ changefreq weekly lastmod= now priority= 0.5 url - loc= http://www.freecodecamp.com/install-screenhero + loc http://www.freecodecamp.com/install-screenhero changefreq weekly lastmod= now priority= 0.5 url - loc= http://www.freecodecamp.com/deploy-a-website + loc http://www.freecodecamp.com/deploy-a-website changefreq weekly lastmod= now priority= 0.5 url - loc= http://www.freecodecamp.com/control-shortcuts + loc http://www.freecodecamp.com/control-shortcuts changefreq weekly lastmod= now priority= 0.5 url - loc= http://www.freecodecamp.com/pair-program-with-team-viewer + loc http://www.freecodecamp.com/pair-program-with-team-viewer changefreq weekly lastmod= now priority= 0.5 url - loc= http://www.freecodecamp.com/login + loc http://www.freecodecamp.com/login changefreq weekly lastmod= now priority= 0.5 url - loc= http://www.freecodecamp.com/nonprofits + loc http://www.freecodecamp.com/nonprofits changefreq weekly lastmod= now priority= 0.5 url - loc= http://www.freecodecamp.com/learn-to-code + loc http://www.freecodecamp.com/learn-to-code changefreq weekly lastmod= now priority= 0.5 url - loc= http://www.freecodecamp.com/chromebook + loc http://www.freecodecamp.com/chromebook changefreq weekly lastmod= now priority= 0.5 url - loc= http://www.freecodecamp.com/live-pair-programming + loc http://www.freecodecamp.com/live-pair-programming changefreq weekly lastmod= now priority= 0.5 url - loc= http://www.freecodecamp.com/privacy + loc http://www.freecodecamp.com/privacy changefreq weekly lastmod= now priority= 0.5 url - loc= http://www.freecodecamp.com/jquery-exercises + loc http://www.freecodecamp.com/jquery-exercises changefreq weekly lastmod= now priority= 0.5 url - loc= http://www.freecodecamp.com/javascript-in-your-inbox + loc http://www.freecodecamp.com/javascript-in-your-inbox changefreq weekly lastmod= now priority= 0.5