Пример файла .htaccess для WordPress


Ответы

Связка Apache+Nginx

# BEGIN WordPress
SetEnv HTTPS "on"
SetEnv HTTP_X_FORWARDED_PROTO "https"

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress