2

Another way is to use the RedirectMatch directive. RedirectMatch temp "^/folder\ (?!\ /subfolder| /exclude-file1\.html$|\ /exclude-file2\.html$|\ /exclude-dir)(.*)$" \ "/folder/subfolder/$1" As single line RedirectMatch temp "^/folder(?!/subfolder|/exclude-file1\.html$|/exclude-file2\.html$|/exclude-dir)(.*)$" "/folder/...


Only top voted, non community-wiki answers of a minimum length are eligible