When I open my .htaccess file (in Dreamweaver) it automatically opens with Notepad. This makes it extremely difficult to read and adjust. So I copy and paste the code into WordPad and it reads as a list quite nicely. My question is, when I add to the .htaccess file, how can I save and upload the changed file, bearing in mind I 'm still learning to use Dreamweaver! I have a file on my computer which I call My Webs, which holds all my site files, source feeding Dreamweaver. If I save the file there, will it automatically link into Dreamweaver, from where I can upload it to the server? What do I save the file as? Do I save it as .rtf then rename it later? Yep. I'm a newbie to this!
Hi there, Try this: open your .htacces file with Dreamweaver, make all the changes you need, copy the entire code and paste it into a new txt document (or a blank notepad). Save it as x.htaccess. Then, once you have uploaded it into your server simply rename it to .htaccess. That should do it.
Thanks Ikki, I have found Notepad user-unfriendly but will paste the code into Wordpad and save as a text file as you suggest.
Best way to work clean and nice with small text files is using Metapad that doesn't mess up your code, check it out, www.liquidninja.com/metapad
Thanks Trusted Writer. I'll try it and see if Dreamweaver will open the .htaccess file with Metapad. Guess I'll have to Trust!