How do I ensure my site will be crawled when articles are generated by the database?

I wasn’t sure how to ask the question. But basically, it’s a textbook scenario. I’m working on a site that’s article based, but the article information is stored in a database. Then the page is rendered with the information in the database based on the requested article id:

For example: http://www.mysite.com/articles/9851

I’m new to SEO, so I’m wondering how engines are able to crawl the contents of pages like this and/or what I need to do in order to ensure that it will be crawled.

So for instance, this site. All of the articles/posts on this site appear to live in a database somewhere. The URL has an ID which looks like it is used to tell the server which data to use to generate the page — so the page doesn’t actually exist somewhere, but it’s template does. When I search google, I might find one of these posts based on the content of the post.

I understand that crawlers normally just find a page and follow it’s links and follow its links’ links and so on, but how does that work when the site is search based like this? Do have to create a page that randomly picks articles out of the database so that the crawler can see it or something?

8

At its very simplest, search engines are just reading HTML. The web page at a certain URL is just an HTML file to a search engine, so it doesn’t know a database query is involved. It only knows that the HTML file contains text and links — which is an overly simplified explanation, but accurate enough for this scenario.

@RomanMik has the right idea. You need to review Google’s documentation, but regardless of the search engine, the process is the same:

  1. Submit your site to the search engine
  2. Your site needs links — lots of links, and links with descriptive text — to the rest of the pages on your site
  3. A robots.txt file in the root of your domain can help tweak the search indexers, usually by telling them to ignore certain directories or file types
  4. Create fresh content and update the home page and section pages of your site to link to the new content

A search indexer will start at your home page, index it, then it will move on to child pages in your site based on the links it finds in the document it is currently indexing.

Forget about thinking of search engines and your site in terms of your database. It’s all HTML to a search engine, and they need fresh content, descriptive content, and links to other pages. Do that and you’ve cleared the first major hurdle.

1

Since Google is the largest Search Engine, and ALL sites want to be crawled by google, I suggest you start with google’s webmaster tools page. (https://www.google.com/webmasters/). It is full of helpful resources.

To answer your question, you provide a robot.txt or a sitemap with all links that you want search engines to crawl and index. Here’s a detailed answer about how to submit a sitemap to google. https://support.google.com/webmasters/answer/183669?hl=en

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật