RewriteCond %{QUERY_STRING} (?:^|&)section\=termoobrabotka_galvanicheskih_pokritij(?:$|&)
RewriteRule ^$ /sections/termoobrabotka_galvanicheski? [L,R=301]
RewriteCond %{QUERY_STRING} (?:^|&)section\=(.+)(?:$|&)
RewriteRule ^$ /sections/%1? [L,R=301]
RewriteRule ^dopoborudovanie/index\.php$ /service/dopolnitelnoe\-oborudovanie/? [L,R=301]
RewriteCond %{QUERY_STRING} (?:^|&)title\=post\-name(?:$|&)
RewriteRule ^article\.php$ /post\-name? [L,R=301]
RewriteCond %{QUERY_STRING} (?:^|&)title\=post\-name(?:$|&)
RewriteRule ^article\.php$ /article/post\-name? [L,R=301]
RewriteCond %{QUERY_STRING} (?:^|&)title\=(.+)(?:$|&)
RewriteRule ^article\.php$ /article/%1? [L,R=301]
<code>RewriteCond %{THE_REQUEST} //
# Проверяем, повторяется ли слеш (//) более двух раз.
RewriteCond %{QUERY_STRING} !http(s|)://
# Убедимся что это не урл в GET
RewriteRule .* /$0 [R=301,L]
# Исключаем все лишние слеши.</code>
wget -q --spider http://www.example.com/cronit.php
wget -O /dev/null http://www.example.com/cronit.php
/usr/bin/curl -s http://yourserver.com/controller >> /path/to/file.log
* */12 * * * /usr/sbin/nginx -t && /usr/sbin/nginx -s reload >/dev/null 2>&1
certbot renew
до этого за пол часика.