• Welcome to Sitemap Generator Forum.
 

General question

Started by petroskatmanboy, January 20, 2019, 05:01:23 PM

Previous topic - Next topic

petroskatmanboy

Hello team,
Most popular plugins for seo pings automatically/updates sitemap at google webmasters when we update post or on new post.
Does this script the same thing? or we should do this manualle each time we post new content?

XML-Sitemaps Support

Hello,

you need to run it manually or create a scheduled task in your hosting control panel to run generator at specific time.
Also, your can use our PRO Sitemaps service (pro-sitemaps.com) that updates sitemap automatically.

petroskatmanboy

Yes i know that,i have settled cron job.But when the cron job finishes the job all sitemap urls have <lastmod>2019-01-21T01:35:46+00:00</lastmod>  same date&hour. Does this makes sense? Shouldn't sitemap update only for new posts or the recent updated posts only?
In my opinion the sitemap on the update should grab only the new posts and the recent updated posts



I have 1 more question regarding the images sitemap.
Yesterday i bought that sitemap images addon and created sitemap_images.xml.

My post image url: [ External links are visible to forum administrators only ]
My .zip file dl url: [ External links are visible to forum administrators only ]

As you can see both url's have the /attachments/ on the url, in this case i must exclude the .zip files from the sitemap.

At the CRAWLER RULES - Exclude URLs: i have added /attachments/ which exclude those urls from the sitemap,how i can remove only the .zip files and to allow images?

XML-Sitemaps Support

Hello,

sitemap generator automatically sets date/time attribute in a sitemap when website specifies it in "Last-modified" http header, otherwise current date/time is used.

You can add ".zip" in Exclude URLs setting to remove only zip files.

petroskatmanboy

1-You mean the site must have meta tag something like this <meta property="og:updated_time" content="2019-01-15T18:36:08+00:00" />  ? If no this what <"Last-modified" http header> we must have?

2- just .zip? lol so simple

XML-Sitemaps Support

You website should return it in an http header: [ External links are visible to logged in users only ]
Or it could be last-modified meta tag in html source:
<meta http-equiv="last-modified" content="YYYY-MM-DD">

petroskatmanboy

If i add such  code to my header won't hurt in somehow my google rank right?

XML-Sitemaps Support

It might actually help with crawling if last-modified http header is defined on your website.

petroskatmanboy

Any suggestion what the hell we add to this content="YYYY-MM-DD"> so we can get the updated date/last modified date?
i'm using xenforo


petroskatmanboy

My forum default sitemap has this
<lastmod>' . gmdate(DateTime::W3C, $result['lastmod']) . '</lastmod>
You have this
<lastmod><TVAR LASTMOD></lastmod>
If i change yours with my site default sitemap will work to get the last modify date and not the date sitemap is created?




Also i'll post new issue,
on my site i have 19,528 posts and your sitemap has 4,776,as you can see there are missing too much almost everything.

On the script configuration "Maximum depth level:" i have set "0".

XML-Sitemaps Support

Hello,

1. I'm sorry I cannot provide details on how to setup meta tags in this specific case, but there might be some ready made solutions for this scenario.

2. Could you please PM me your generator URL and an example URL that is not included in sitemap and how it can be reached starting from homepage?
 

petroskatmanboy

From here [ External links are visible to forum administrators only ] first post [ External links are visible to forum administrators only ] - [ External links are visible to forum administrators only ] = not found

Other: from here [ External links are visible to forum administrators only ] [ External links are visible to forum administrators only ] - [ External links are visible to forum administrators only ] = not found


petroskatmanboy