Tag: webmaster notes

How to convert a large number of images to AVIF while preserving the directory tree

Situation: you need to convert all JPG, JPEG, PNG and WebP images to AVIF format. The images to be converted are located in different directories. It is necessary to preserve the folder structure, and the original image must be deleted. This task may arise for compression in order to save disk space for a home collection of pictures, or for...

How to redirect from JPG, JPEG, PNG and WebP to AVIF using .htaccess and mod_rewrite

In the previous article, we learned how to convert JPG and other formats to AVIF (which is supported by modern web browsers). This can reduce the space occupied by images on the hosting by up to 8+ times! See also: How to convert images to AVIF using PHP But converting images to a new format is just the beginning –...

How to convert images to AVIF using PHP

Contents 1. AVIF format for websites 2. Programs for converting images to AVIF on a server 2.1 Converting to AVIF with the magick utility 2.2 avifenc utility for converting to AVIF 3. Why converting to AVIF with PHP is a worthwhile option 4. Converting files to AVIF in PHP 5. How to use PHP to convert a large number of...

Alternatives for Google Domains

For the second year now, I have been using Google Domains to register domains – I really like their service: low prices, free Domain Privacy, convenient management, no restrictions, automatic verification of sites in Google Search Console. Overall, I could definitely recommend this domain registrar if it still worked... Note: Domain Privacy is the hiding of your personal data (your...

How to reboot a server in DigitalOcean

DigitalOcean offers various cloud technologies for developers, but of all the variety of services, I use only VPS (virtual private server). At the same time, due to the large number of cloud solutions, it is not intuitively clear how to perform such a simple action in DigitalOcean as rebooting the VPS. The server can be restarted by connecting to it...

Sitemap.xml files: what they are for, how to use them, and how to bypass “Too many URLs” error and size limits

Table of contents What are Sitemaps What are the restrictions for sitemap files How can you compress a sitemap file Can I use multiple sitemaps? What is the structure of sitemap files How to generate sitemap files How to Import a Sitemap into Google Search Console Sitemap.xml file status “Couldn't fetch” Is it necessary to use the sitemap.xml file? What...

How to prevent Tor users from viewing or commenting on a WordPress site

The Tor network is an important tool for anonymity, privacy, and censorship circumvention, which in some countries is being fought even at the state level. But Tor is a public tool, so it can sometimes be used for online trolling and bullying. This article will show you how: prevent Tor users from commenting on your WordPress site prevent Tor users...

How to prevent search engines from indexing only the main page of the site

To prevent search engines from indexing only the main page, while allowing indexing of all other pages, you can use several approaches, depending on the characteristics of a particular site. 1. Using the robots.txt file If the main page has its own address (usually it is index.php, index.html, index.htm, main.html and so on), and while trying to open a link...

iThemes Security locked out a user – how to login to WordPress admin when user is banned (SOLVED)

iThemes Security is a plugin for WordPress that makes it difficult for hackers to attack the site and collect information. Among other features, iThemes Security has protection against brute-form paths (search for “hidden” folders and files), as well as protection against hacking user credentials by brute force passwords. Once set up, the iThemes Security plugin usually works fine and doesn't...

WordPress error “Another update is currently in progress” (SOLVED)

When updating a WordPress site, for example, when migrating to a new version of WordPress, you may encounter an error: Another update is currently in progress. This problem is fairly easy to fix. It is especially pleasing that this error is not fatal, unlike, this error does not prevent users from browsing the site, and the webmaster can go to...
Loading...
X