Tell me how to make the user who followed the link that contains / content / go to the same link without the / content / of this part. For example site / content / test on site / test.

  • Do you need to redirect it to a new link entirely, or so that the second link opens content second? - teran
  • RedirectMatch mod_alias will probably help you. - teran

1 answer 1

 RewriteEngine on RewriteRule ^/content/(.*)$ /$1