-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sitemap logic needs to conform to specs. #592
Comments
Here's what the sitemap says currently: <url>
<loc>https://hackage.haskell.org/package/persistent/docs</loc>
<lastmod>2017-04-17</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url> <url>
<loc>https://hackage.haskell.org/package/persistent-0.3.1.3/docs</loc>
<lastmod>2017-04-17</lastmod>
<changefreq>monthly</changefreq>
<priority>0.25</priority>
</url> So it does already use a higher priority for the unversioned URL which always points to the last version... |
Hmm. The v2.7 entry is at a priority of 0.25 though. (Please excuse the strange formatting).
|
True, but if google already now doesn't appear to prefer |
I'm honestly not too sure, I'm just taking a guess here. |
I finally got us set up on the search management console and discovered that our sitemap is rejected by google :-/ "Your Sitemap contains too many URLs. Please create multiple Sitemaps with up to 50000 URLs each and submit all Sitemaps." So we'll need to rethink some logic here. |
actually its not rejected -- it just only accepts that first chunk of urls, which is the majority... |
we can do multiple sitemaps as per: https://support.google.com/webmasters/answer/75712 Also sitemaps should have a link for every url, not just subdirectories. |
A quick google search for "haskell persistent insert" seems to return the docs for v0.3.1.3 (latest is v2.7).
I think if we set a higher priority for the latest version in the sitemap.xml - Google will pick this up and have the latest version higher up in the search results.
The text was updated successfully, but these errors were encountered: