Redirect Index.php


I was using this code to redirect the URLs that carry index.php to those that do not carry index.php, and thus remove it from the middle.

RewriteCond %{THE_REQUEST} ^(GET|HEAD)\ /index\.php/[^\ ]+
RewriteRule ^index\.php/(.*)$ /$1 [L,R=301]

It works for the URLs of the main categories, but not for the subcategories that the interviews section has for example this

asked by potix2002 22.11.2018 в 16:40

0 answers