В htaccess прописал
# InstantCMS rewriting rules # Initialization AddDefaultCharset utf-8 Options -Indexes RewriteEngine on RewriteBase / # Hide text files RewriteRule ^.htaccess$ - [F] RewriteRule ^credits.txt$ - [F] RewriteRule ^readme.txt$ - [F] RewriteRule ^license.(.*).txt$ - [F] # Remove trailing slash from URLs RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)/$ /$1 [R=301,L] # Sitemaps RewriteRule ^sitemap(.*).xml$ /cache/static/sitemaps/sitemap$1.xml [L] # Engine routing RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php [L] RewriteCond %{HTTP_HOST} ^www\.мойсайт\.ру$ [NC] RewriteRule ^(.*)$ http://мойсайт.ру/$1 [R=301,L] RewriteCond %{HTTPS} off RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]