# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Enabling module rewrite.
To activate the new configuration, you need to run:
service apache2 restart
Mod_rewrite is activated!
ServerAdmin mail@mail.com
ServerName site.ru
ServerAlias www.site.ru
DocumentRoot /var/www/html/site/publick_html
<Directory /var/www/html/site/publick_html>
AllowOverride All
</Directory>