Learn how to create a file download link that saves PDFs, images, ZIP archives, or documents to a user's device instead of opening them in a browser tab. Explore four methods: the HTML download attribute, .htaccess configuration, PHP with the Content-Disposition header, and JavaScript. Includes ready-to-use code examples, 1C-Bitrix integration, browser limitations, cross-origin downloads, and security recommendations.
Articles
Android Smartphone Screen Resolutions — Complete 2026 Tables for Samsung, Google Pixel, Xiaomi, and Other Brands
Updated reference guide to screen resolutions of popular Android smartphones as of October 2026. Detailed tables for Samsung Galaxy, Google Pixel, Xiaomi, Redmi, POCO, realme, TECNO, Infinix, HONOR, Huawei, vivo, and OPPO. Includes physical and logical screen resolutions, display size, Device Pixel Ratio (DPR), and pixel density (PPI). Covers 2025–2026 models, foldable smartphones, and responsive web design recommendations for frontend developers.
How to Set Up a 301 Redirect in 1C-Bitrix from URLs Without a Trailing Slash to URLs with a Trailing Slash
Step-by-step guide to configuring 301 redirects in 1C-Bitrix from URLs without a trailing slash to URLs with a trailing slash. Learn how to configure mod_rewrite rules in .htaccess, exclude files and system directories, preserve GET parameters, and test redirects. Includes ready-to-use Apache configuration examples.
How to Place the bitrix:news Component in the Website Root in 1C-Bitrix: SEF URLs and Routing Configuration
Step-by-step guide to placing the bitrix:news composite component in the website root in 1C-Bitrix. Learn how to include the component in index.php, configure search engine friendly URLs (SEF), set up urlrewrite.php routing rules, and avoid conflicts with other website pages. Includes ready-to-use PHP examples.
This article explains how to automatically convert JPEG and PNG images to WebP when they are uploaded to the PREVIEW_PICTURE and DETAIL_PICTURE fields of a 1C-Bitrix infoblock element. Conversion takes place before the file is saved and does not require any changes to website components.
How to configure CRON on a server: Crontab syntax, schedule examples, PHP script execution, logging and common troubleshooting steps.
Equal-height Slick Slider cards with CSS: a simple Flexbox solution for aligning slide and card heights without JavaScript.
Complete and updated screen resolution tables for all Apple iPhone, iPad, and iPod touch models as of October 2026. Includes logical resolution in CSS pixels, physical display resolution, screen size, aspect ratio, pixel density (PPI), and release year. Covers the latest iPhone 18 Pro, iPhone 18 Pro Max, foldable iPhone Duo, iPhone 17e, and iPad Air with M4. A comprehensive reference for web designers, frontend developers, and responsive web development.
Update product prices and stock in 1C-Bitrix without reloading the page using Push & Pull, WebSocket, PHP catalogue events and JavaScript subscriptions.
Combine the basket and checkout on one page in 1C-Bitrix without changing the core, using BASKET_WITH_ORDER_INTEGRATION, sale.basket.basket and sale.order.ajax.
Check CRON on your server with a simple PHP test script and an error log.
Build an AJAX contact form in 1C-Bitrix with jQuery submission, a PHP handler, enquiry storage in an information block and email notifications.
Regular expressions are invaluable when you need to inspect a large file, find specific patterns and replace or remove them.
How to fix a database error reported by the Bitrix system check: ‘The MySQL sql_mode variable must be empty; its current value is…’
A simple way to estimate reading time from the number of characters and images, with a formula, worked examples and a rounding rule.
A HAR file is an archive of a browser session, including page load timings, requests sent to the server and the responses received. Support teams use it to diagnose and resolve slow website performance.
If you have access to the server or hosting account, you can obtain administrator access without opening the database.
ERR_HTTP2_PROTOCOL_ERROR is caused by problems with the HTTP/2 protocol and may appear in browsers such as Opera, Chrome, Edge and Firefox.
If Kaspersky Internet Security is installed, Steam may start working only after KIS is fully closed. Another symptom is that the store works in a browser but not in the Steam application.
Sometimes you need information about the current section that is missing from the original array. This code retrieves the required section fields, including custom fields.
Composer is an application-level package manager for PHP that manages application dependencies. Bitrix started using Composer in development mode in version 18.0.5. You will need it to use features such as ORM class annotations and the command-line interface (CLI).
NBSP stands for non-breaking space. Unlike an ordinary space, prevents a browser from breaking a line at that position and helps improve text readability.
Sometimes you have FTP access but do not have the administrator account password. This script works with both 1C-Bitrix Site Manager and Bitrix24.
You may need your Bitrix licence information to confirm usage rights, obtain technical support, manage updates and security, integrate cloud services, use modules and components, or renew your licence.
Suppose you have a square block measuring 500 by 500 pixels and an image measuring 300 by 100 pixels. You want the image to fill the entire block. If setting its width to 100% is not enough and a height of 100% is unsuitable, how can you make the image fill the available space?
After changing website files or fixing an error, you may need to refresh your browser cache to see the latest version of a page. Sometimes reloading the page is enough, without clearing the entire cache. If that does not help, clear the cache in your browser settings.
When deploying a copy of a Bitrix24 portal, you may discover that NTLM authentication was enabled. After restoration, the portal may redirect to the login form or fail to open. NTLM can be disabled in the admin panel, but how can you do this when the panel is unavailable?
SSL certificates can differ significantly in functionality and level of trust. Understanding these differences helps you choose the right certificate for your website.
Secure Sockets Layer (SSL) is a security protocol used by web browsers and servers to protect users' data while it is transmitted over the internet.
A reading-time estimate helps visitors decide whether they have enough time to read an article. To calculate it, you need to know the number of characters and images in the article.
This error occurs when using the standard 1C data exchange, for example with the Retail configuration or another configuration for which Bitrix does not provide an exchange module.
For security reasons, restore.php specifies the IP address of the host allowed to run the script. A change of address can therefore prevent restoration from continuing.
PuTTY is a free client for several remote access protocols, including SSH. You can use it to connect to the server hosting your websites and manage your account's files and directories with commands. Alongside the Telnet and SSH client, the PuTTY package includes several useful tools that make everyday tasks easier.
Bitrix does not provide previous and next navigation for news items or articles by default. Here is how to add buttons or links to the preceding and following items on a detail page.