RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^.]+)\.html\ HTTP
RewriteRule ^([^\.]+)\.p?html?$ https://site.ru/wot-shop.icu/$1 [R=301,L]
certbot certonly --webroot --agree-tos --email info@shop.domai.ru -w /var/www/shop.domain.ru -d shop.domain.ru -d www.shop.domain.ru
RewriteCond %{REQUEST_URI} ^/catalog/(.+)$
RewriteRule ^(.*)$ /%1 [R=301,L]
cat /countCodes | awk ' /'$1'/ {print $1} ' || echo "0"