fijj/pearl/master/public_html/.htaccess
Options +FollowSymLinks IndexIgnore */* RewriteEngine on # if a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # otherwise forward it to index.php RewriteRule . index.php RewriteCond %{HTTP:Accept-Language} (ru) [NC] RewriteCond %{HTTP_USER_AGENT} !(google|yandex) [NC] RewriteRule ^pearl/index.php?r=site/about$ /404 [L,R=301]
Files
![HTTP_USER_AGENT, REQUEST_FILENAME](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/fijj/pearl-public_html-htaccess-382x250.png)