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.– SteveApr 19, 2021 at 5:54
-
1"until someone types in the URL" - Do you not provide any links to your pages?– MrWhiteApr 19, 2021 at 11:28
-
1Just 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.– Stephen Ostermiller ♦Apr 19, 2021 at 13:58
Add a comment
|