I was working with FCKEditor and i got the error like "Error creating folder "redirect:/index.php" (Can't create redirect: directory)". First thing i have checked the permissions for userfiles folder and image folder. It was 777 so that was not the problem. Finally i found the problem and came to know that this error came due to .htaccess i was using for frontend. I solved this error and here i will show you what you need to do in order to solve this error.