#Sitemap.xml

16 messages · Page 1 of 1 (latest)

sleek echo
#

in my development environment my sitemap.xml shows 139 urls but in my production environment it shows only 29 urls can anyone tell me why?

vestal light
#

production is probably showing a previously cached result

sleek echo
#

so how to see it properly because I cleared the cookies and site data but still same issue

vestal light
#

try clearing the cache on the server (where you deployed the app), then redeploy the app

sleek echo
#

it's not showing the urls of /blog/[id] urls

vestal light
#

if so, you'd have to fetch the blogs when generating the sitemap.xml

sleek echo
#

well I don't know exactly but we deployed it on aws amplify

vestal light
vestal light
sleek echo
#

ok

vestal light
#

u can also give it a few hours to a day and see if it gets updated

sleek echo
#

sure and thanks for help will see to that

#

hey you said about the cache problem but amplify works basically like netlify where with every push you make it redeploys

vestal light
#

on Netlify, you can do a "clear cache and redploy". see if that's possible on AWS

sleek echo
#

ok