@katakrowa:
500 Internal Server Error
po wpisaniu tego co dałeś.
mam taki plik:
<Files 403.shtml>
order allow,deny
allow from all
</Files>
php_value session.cookie_lifetime 2592000
php_value session.gc_maxlifetime 2592000
AddHandler application/x-httpd-php55 .php #wersja_php_generowane_automatycznie
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “alt-php71” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-alt-php71___lsphp .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
RewriteCond %{HTTP_USER_AGENT} .*(AhrefsBot|Yandex|IstellaBot|Baiduspider|SISTRIX|crawl|MJ12bot).*$ [NC]
RewriteRule .* - [R=410,L]
Po dodaniu na dole Twojej reguły strona nie działa.
Powtórzenie: RewriteEngine On nic nie zmienia.