Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 905461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:13:21+00:00 2026-05-15T16:13:21+00:00

I have a site with around 100,000 unique pages. (1) How do I create

  • 0

I have a site with around 100,000 unique pages.

(1) How do I create a Sitemap for all these links? Should I just list them flat in a large sitemap protocol compatible file?

(2) Need to implement this on Google App Engine where there is a 1000 item query limit, and all my individual site URLs are stored as separate entries. How do I solve this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T16:13:22+00:00Added an answer on May 15, 2026 at 4:13 pm

    Site Maps must be no larger than 10MB and list no more than 50,000 URLs, so you’re going to need to break it up somehow.

    You’re going to need some kind of sharding strategy. I don’t know what your data looks like, so for now let’s say every time you create a page entity, you assign it a random integer between 1 and 500.

    Next, create a Sitemap index, and spit out a sitemap link for each of your index values:

    <?xml version="1.0" encoding="UTF-8"?>
       <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
       <sitemap>
          <loc>http://example.appspot.com/sitemap?random=1</loc>
       </sitemap>
       <sitemap>
          <loc>http://example.appspot.com/sitemap?random=2</loc>
       </sitemap>
       ...
       <sitemap>
          <loc>http://example.appspot.com/sitemap?random=500</loc>
       </sitemap>
    </sitemapindex>
    

    Finally, on your sitemap page, query for pages and filter for your random index. If you have 100,000 pages this will give you about 200 URLs per sitemap.

    A slightly different strategy here would be to give each page an auto-incrementing numeric ID. To do so, you need a counter object that is transactionally locked and incremented each time a new page is created. The downside of this is that you can’t parallelize creation of new page entities. The upside is that you would have a bit more control over how your pages are laid out, as your first sitemap could be pages 1-1000, and so on.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have site list on certain pages that basically just have links to
I have a table with around 100,000 rows at the moment. I want to
I have a site which contains around 3000 static and dynamic pages. I think
I have a site where I have documents that are around 1MB in size.
I have to develop a site which has to accomodate around 2000 users a
I want to have a pulse around my logo for my site. Check out
I want to have something on my site that follows the mouse around, sort
I want to have site wide default settings for all jQuery validation uses on
I am looking to build a web site/application. The class model is around 100
I'm considering ways to develop a site, planning to get some 100-10.000 visitors daily.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.