We're having some weird issues with 301 htaccess redirects on one specific runcloud litespeed server. Usually it would take a couple of hours before they'd begin working (assuming due to some sort of cache or something), but this time we've been working at it all day and the redirects still aren't working. They're all at the top of our htaccess. We've tried multiple formats, cleared wp litespeed plugin cache, rebuilt web app config, multiple versions of PHP, etc. We tried the same rules on other litespeed webapps and they work, but not on this one webapp.
An example of what we're trying to use:
I can get the rules to work correctly in my local dev environment, but when I try them on production they just don't work.
I'm sure I'm leaving something out, so let me know and I'll include whatever I need.
Thanks!
An example of what we're trying to use:
Code:
RewriteEngine On
RewriteRule ^wp-content/uploads/2021/08/filename.png https://domain.com/wp-content/uploads/2020/08/newfilename.png [L,R=301]
I'm sure I'm leaving something out, so let me know and I'll include whatever I need.
Thanks!