Can't edit .htaccess


#1

I’m trying to add a line to my .htaccess file, which I can see fine in Dreamweaver and also via sftp, but after I add the line, I get an error saying it can’t save or can’t upload. From Dreamweaver, I tried uploading two files, one of them the modified .htaccess file; the first uploaded fine, as normal, but not the .htaccess file so it isn’t a password problem although it indicates that it is. What’s the problem? Any suggestions? I’m trying to create a custom 404 page.


#2

You can try live editing it with Filezilla or the WebFTP interface from the panel. While you’re at it, you can check its file permissions to make sure it’s writeable.

And if you want a custom 404 page, you don’t need to modify .htaccess:
http://wiki.dreamhost.com/Creating_custom_error_pages