First off let me say yes I realize I could put "ErrorDocument 404 /offerdirectory/index.htm" in and that will do it. What I'm doing is redirects and want to add random text after the folder, ie abc,com/offer/randomtext . Now that works if you enter the 404 like I show above. My problem is I need to make htaccess files for over 100 folders. So what I'm hoping to find is a shortcut. I've tried googling but not knowing much about what I'm looking means I didn't find anything helpful. Hopefully someone knows a command or bit of code that will save me from having to edit every single htaccess file.