Hi, We're getting a ton of 404s for URLs for paths that don't exist, like /apps and other nonsense off the root that never existed that I'd like to redirect to the homepage. Here's what I'm working with so far, but it redirects everything
to the homepage, including valid articles. For example, here are
two URLs that should be 200s: # Allow the homepage Everthing else, like https://linuxsecurity.com/apps should be
redirected to the homepage. I've also tried negative matches, like
the following. RewriteCond %{REQUEST_URI}
!^/(news|features|newsletters)(/.*)?$ [NC] Ideas greatly appreciated. Thanks,
|
![]() |