100Shapes / 100Shapes.com-Lithium

Angular-powered, content site of 100 Shapes
http://www.100shapes.com
MIT License
5 stars 0 forks source link

Make a sitemap #8

Closed mmmoli closed 9 years ago

mmmoli commented 9 years ago

Link to it, small, in the footer.

Include landing pages.

mmmoli commented 9 years ago

We could generate it on the backend, and use Angular to just proxy the request. Might save the pain.

mmmoli commented 9 years ago

Done.

Doing exactly this with the backend.

Next we need to tell nginx to route a certain url (i.e. /sitemap.xml) to the backend.

mmmoli commented 9 years ago

@memolipd you happy with the hardcoded URL?

mmmoli commented 9 years ago

I'm also not sure of the order in the nginx.conf. Want to move these location checks before the prerender stuff?

mmmoli commented 9 years ago

@memolipd can you clear around anything you don't need from frontend's nginx.conf

memolipd commented 9 years ago

turns out you can only do subdomain redirection through our DNS provider, therefore we'll need to the code put in the frontend nginx config.

mmmoli commented 9 years ago

This is done.