I changed a folder name (side projects to side-projects) in one of my websites. I changed all the links and everything works fine. I still had external links pointing to the old folder name however, so I set up an .htaccess 404 redirect to point to the index. ErrorDocument 404 /index.php This worked exactly as it should for all 404 errors, however, for the folder I renamed, any click to the now broken link would be redirected to the index.php without the css page. When I compare the code, it appears that when the 404 is redirected, it drops the ../ in front of the css link. Does anyone have any idea what I am doing wrong?