Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Удаленная работа для IT-специалистов
RewriteEngine on RewriteBase / RewriteRule ^category/category/(.*)$ /category/$1 [R=301,L]
RewriteRule ^category/category/(.*)/$ /category/$1/? [L,R=301]
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] RewriteRule ^category/category/(.*)/$ /category/$1/? [L,R=301] </IfModule>
Пробовал RewriteRule ^category/category/(.*)$ /category/$1 [R=301,L]
RewriteRule ^category/category/(.*)$ /category/$1 [R=301,L]