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.
You can just add the below rule in your .htaccess file. Make sure put this rule must execute first so put it just below to RewriteEngine on.
Thats it. If you find any problem in this than let me know by comment.