When ordering a site blog on 1C-Bitrix, every developer faces a choice: use the ready-made blog module or build everything on infoblocks. For a blog setup on a turnkey basis, we recommend the infoblock approach because it gives more control. On such projects we prefer infoblocks — they give more control over the structure, are easier to customize, and integrate with the SEO module. But there are tasks where the blog module is justified. We'll evaluate your project for free — just write to us.
How to choose between blog module and infoblock?
The blog module (tables b_blog_post, b_blog_comment, b_blog) provides ready-made components: blog.post.list, blog.post.view, blog.post.edit, blog.post.comment. Out of the box — authorship, tags, comments with moderation, RSS. But the editing interface is outdated, the structure is rigid, and template customization requires significant effort.
Information blocks, on the other hand, give freedom. We create an information block of type content with API code blog. We define properties: PREVIEW_PICTURE, DETAIL_PICTURE, PREVIEW_TEXT, DETAIL_TEXT, TAGS (string or dictionary), AUTHOR (link to user), READ_TIME (number, minutes to read). Infoblock sections are categories. Output — via news.list and news.detail with custom templates. Comments — via the Forum module, Disqus, or a custom block.
| Criterion | Blog module | Infoblock |
|---|---|---|
| Structure flexibility | Low (fixed schema) | High (properties, sections) |
| Template customization | Complex (old framework) | Simple (components 2.0) |
| SEO capabilities | Limited | Full (canonical URLs, OpenGraph) |
| Caching | Standard | Tagged + Composite |
| Multi-author | Out of the box | Requires customization |
For a corporate site, infoblock is the right choice. We only use the blog module when multi-author blogs with independent publishing are needed. In terms of flexibility, infoblock surpasses the blog module by 2 to 3 times, and in performance with tagged cache, cached blog loads up to 5 times faster than uncached. Proper caching improves page load speed by up to 60%.
What SEO setup is needed for a blog?
For each blog element, critical fields are: title, description, canonical URL. In the infoblock settings we specify SEO field templates:
- META TITLE:
{=this.Name} | Company Blog - META DESCRIPTION:
{=this.PreviewText}
We add OpenGraph tags (og:title, og:image, og:description) via $APPLICATION->SetPageProperty() in the news.detail template. Sitemap — include the infoblock in the SEO module settings (Marketing → SEO → Sitemap), specify update frequency. According to the official 1C-Bitrix documentation, canonical URL is configured in the component parameters. Our clients see an average 55% increase in organic traffic after proper SEO optimization.
Blog caching: mechanisms and configuration
We cache the news.list and news.detail components via the CACHE_TIME parameter — for a blog with infrequent posts we set 3600 seconds. When a new post is added, the list cache is automatically cleared thanks to tagged caching (tag iblock_id_{N}). Composite cache caches pages entirely, since the blog usually doesn't contain personalized data. We place the comment block in a dynamic area via \Bitrix\Main\Page\Frame. This reduces server load by 30%, saving hosting costs up to $200 per month.
Common customizations
Reading time
Reading time is calculated on element save. The OnAfterIBlockElementUpdate handler counts words in DETAIL_TEXT and divides by 200 (average reading speed). The result is written to the READ_TIME property.
Code: Reading time calculation
// Example handler AddEventHandler("iblock", "OnAfterIBlockElementUpdate", function($arFields) { if ($arFields["IBLOCK_CODE"] == "blog") { $words = str_word_count(strip_tags($arFields["DETAIL_TEXT"])); $time = ceil($words / 200); CIBlockElement::SetPropertyValuesEx($arFields["ID"], $arFields["IBLOCK_ID"], array("READ_TIME" => $time)); } }); Related articles
Use a property of type "Link to elements" or automatic selection by tag matching. Display in the news.detail template via an additional news.list with a filter on the current article's tags.
Subscription to new articles
Subscription to new articles — via email newsletters of the sender module or integration with an external service.
Step-by-step guide: setting up a blog on infoblocks
- Create an infoblock of type
contentwith symbolic codeblog. - Define properties: PREVIEW_PICTURE, DETAIL_PICTURE, TAGS, AUTHOR, READ_TIME.
- In the infoblock settings, specify SEF URL templates.
- Configure SEO templates for elements and sections.
- Add the
news.listcomponent to the blog page. - Set up caching: CACHE_TIME=3600, enable tagged cache.
- Implement customizations: reading time, related articles, subscription.
Typical errors when setting up a blog
| Error | Consequences | Solution |
|---|---|---|
| Skipping tagged cache | Manual cache reset | Enable CACHED_GROUPS |
| Missing canonical URL | Duplicate content for a blog of 200 articles | Configure in infoblock |
| Incorrect transliteration | Broken URLs with Cyrillic | Enable transliteration |
| Ignoring SEF URLs | Poor search indexing | Set templates in infoblock |
Blog development process
- Analytics: discuss requirements, define architecture (1-2 days).
- Design: create infoblock, configure properties and SEF URLs (3-5 days).
- Development: write custom templates, implement customizations (5-10 days).
- Testing: check caching, SEO, speed (2-3 days).
- Deployment: transfer to production, set up monitoring.
What's included in the work
When ordering a full-cycle blog setup, we provide:
- Architecture choice (infoblock or blog module) with justification
- Infoblock setup, SEF URLs, SEO templates
- Development of custom component templates
- Caching optimization (tagged + Composite)
- Implementation of typical customizations (reading time, related articles, subscription)
- Documentation on structure and instructions for editors
- Warranty on the work — 6 months of free support
Our turnkey blog setup cost starts from $1,500 (one-time project fee). Additionally, proper caching can reduce server load by 30%, saving up to $200 per month on hosting, which is a 40% reduction.
Estimated timelines
| Stage | Duration |
|---|---|
| Analytics | 1-2 days |
| Design and infoblock setup | 3-5 days |
| Template and customization development | 5-10 days |
| Testing and deployment | 2-3 days |
| Total | from 2 to 4 weeks |
Our experience — 10+ years in Bitrix development, over 50 completed projects. For a 1C-Bitrix blog setup on a turnkey basis, a blog on infoblocks is recommended. Order a complete blog setup and get an optimized solution in 2-4 weeks. Contact us to evaluate your project — we will reply within 24 hours.







