I am creating a new blog website in Django. All the posts and their details are stored inside an SQLite database (one that comes default with Django). Once a post's URL is requested, the server returns the webpage which contains the post loaded from the database. My question is, since the webpages do not exist until someone types in the URL, how will a search engine such as Google crawl the website and make it show up in the search results if it is relevant to the search? Is it necessary to provide a sitemap for this to happen?

  • You should definitely provide a sitemap. If there are internal links, crawlers will follow the links. If there is nothing linking to a page then it won't be found.
    – Steve
    Apr 19 at 5:54
  • 1
    "until someone types in the URL" - Do you not provide any links to your pages?
    – MrWhite
    Apr 19 at 11:28
  • 1
    Just because the pages are dynamically generated doesn't mean you don't know which pages will or won't exist ahead of time. Hopefully your site is configured to return "404 not found" errors when the user requests non-existant content. Apr 19 at 13:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.