Как написать правильный htaccess, чтобы убрать все дубли и служебные страницы? Может быть есть шпаргалка?
####Custom Rewrite Rules Start###RewriteEngine onRewriteBase /RewriteCond $1 ^(index\.php)?$ [OR]RewriteCond $1 \.(gif|jpg|css|js|png|ico)$ [NC,OR]RewriteCond %{REQUEST_FILENAME} -f [OR]RewriteCond %{REQUEST_FILENAME} -dRewriteRule ^(.*)$ - [S=1]RewriteRule . /index.php [L]####Custom Rewrite Rules End####<IfModule mod_expires.c>ExpiresActive OnExpiresDefault "access plus 7 days"ExpiresByType image/jpg "access plus 1 year"ExpiresByType image/jpeg "access plus 1 year"ExpiresByType image/gif "access plus 1 year"ExpiresByType image/png "access plus 1 year"ExpiresByType text/css "access plus 1 month"ExpiresByType application/javascript "access plus 1 year"ExpiresByType text/x-javascript "access plus 1 year"ExpiresByType image/x-icon "access plus 1 year"ExpiresByType application/x-shockwave-flash "access plus 1 year"</IfModule>