{"id":137,"date":"2008-07-11T19:55:38","date_gmt":"2008-07-11T16:55:38","guid":{"rendered":"http:\/\/patchlog.com\/?p=137"},"modified":"2008-07-11T19:57:10","modified_gmt":"2008-07-11T16:57:10","slug":"wheres-the-xml-sitemap","status":"publish","type":"post","link":"https:\/\/patchlog.com\/php\/wheres-the-xml-sitemap\/","title":{"rendered":"Where&#8217;s the xml sitemap?"},"content":{"rendered":"<p>Someone contacted me through the <a href=\"http:\/\/patchlog.com\/contact\/\">contact form<\/a> to ask me where is the xml sitemap generated by the <a href=\"http:\/\/patchlog.com\/php\/xml-sitemaps-pligg-module-v09\/\">xml sitemap module for pligg<\/a> .<\/p>\n<p> If he would have read my <a href=\"http:\/\/patchlog.com\/web\/xml-sitemaps-for-pligg\/\">first post<\/a> about this module I think he would have eventually figured out where it is but since that first post was written a long time ago let me answer that question in this post. <\/p>\n<p>I will do this in a post instead of answering privately because maybe there are others that might run  into the same problem and I hate answering the same question over and over. <\/p>\n<p>The module doesn't generate a sitemap but a sitemap index ( that's basically just a list of sitemaps in xml ) and unless you're using cache the module will generate it every time someone goes to the sitemap's URL. <\/p>\n<p>If you're not using friendly urls for sitemaps then the url to the sitemap will be :<br \/>\n http:\/\/yourpliggsite.com\/module.php?module=xml_sitemaps_show_sitemap<br \/>\nIf you want to use friendly urls for the sitemap you will have to configure it as described <a href=\"http:\/\/patchlog.com\/web\/xml-sitemaps-for-pligg\/#configuration\">here<\/a><\/p>\n<p>Last time I checked ( when I first created the module ) ask.com could not be pinged unless your sitemap url looked like a static url or\/and was ending in .xml and this is why I created the module with this choice in mind. If you don't care about pinging ask.com or if ask.com changed it's policy ( can anyone check this ? ) then you don't need friendly urls for sitemaps. <\/p>\n<p>For the future I would appreciate if such questions would be asked in the comments instead of private contact. I prefer the comments for answering questions about my posts or the code in my posts because this way others can benefit from my answers or others can contribute. <\/p>\n<p>The contact form would be for private matters like asking for consultancy , business proposals or others that don't fit into the comments. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Someone contacted me through the contact form to ask me where is the xml sitemap generated by the xml sitemap module for pligg . If he would have read my first post about this module I think he would have eventually figured out where it is but since that first post was written a long &hellip; <a href=\"https:\/\/patchlog.com\/php\/wheres-the-xml-sitemap\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Where&#8217;s the xml sitemap?<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[8],"tags":[96,28,178,100],"class_list":["post-137","post","type-post","status-publish","format-standard","hentry","category-php","tag-pligg","tag-sitemaps","tag-url","tag-xml"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pofPh-2d","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/posts\/137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/comments?post=137"}],"version-history":[{"count":0,"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/posts\/137\/revisions"}],"wp:attachment":[{"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/media?parent=137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/categories?post=137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/tags?post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}