htaccess redirect to path

by Malachi   Last Updated June 28, 2019 18:08 PM

I'm trying to get my site to redirect to a certain folder depending on a condition. This condition cannot be done within WP, so...

Anyway.. I've done conditions before, but I keep hitting a wall whenever I do a rewrite, since the site is a Wordpress site.

My redirect is: RewriteRule ^(.*)$ /health-studies/ [L,R]

So basically.. (depending on the condition of course), it needs to redirect to /health-studies. Example: When people go to, it needs to redirect to However.. I'm running into an error: ERR_TOO_MANY_REDIRECTS

What am I missing? (must be something always)

Related Questions

Custom Redirect Rule For My Site

Updated March 01, 2019 14:08 PM

Cache Busting using htaccess Rewrite rule?

Updated September 23, 2017 08:08 AM