Forum Moderators: phranque
RewriteCond %{HTTP_REFERER} ^http(s)?://(.*)?\.(tld|tld)(/.*)?$ (.*)? is a problem. The * means "or zero" so the question mark is redundant. The brackets are also redundant as you're not reusing anything. (/.*)?$ is "slash followed by something or nothing, OR nothing at all, not even a slash". Simplifies to /? and nothing else, especially not the $ anchor. Again, brackets are not required as you're not needing to capture anything for re-use.
Works fine but for obvious reasons keeps redirecting. So far I've tested [ ], [R], [R=301,L] and [L]. All result in multiple redirects. Up to (5 times, Total elapsed time: 0 seconds)