GenomeUS / keystone-express-sitemap

Dynamic sitemap generation for applications built on KeystoneJS
19 stars 15 forks source link

not working for subdomain #1

Closed Irtizashahid closed 8 years ago

Irtizashahid commented 8 years ago

I have a blog on my subdomain blog.example.com "keystone-express-sitemap" is not working fine for me .In sitemap.xml it display domain name only not subdomain .

 <url>
<loc>http://example.com/blog/post/transporter-un-bateau</loc>
</url>

What i want

 <url>
<loc>http://blog.example.com/blog/post/transporter-un-bateau</loc>
</url>
s-plum commented 8 years ago

Which versions of Keystone and Express are you using?

Irtizashahid commented 8 years ago

Thank dear for your response ....i am using latest version of both Keystone and Express ....I have resolved above issue by changing Hostname in keystone.js file ...it was example.com after changing it to blog.example.com, issue resolved :) .