Due to search engine crawling errors, I need to redirect websites of non existing subfolders to a reachable website.
This is what is currently leading to 404-errors:
Therefore I simply want to redirect the above URLs to the root domain.
The following code is heading to www.domain.tld/tag3/ (which is not what I need)
RewriteRule ^subfolder1/(.*)$ /$1 [R=301,NC,L]
Can anybody help me out what to modify in the .htaccess-file, that all URLs with subfolder1 are redirected to www.domain.tld?