Hi,

I used Notepad to view the contents of .htaccess file. But then I saw the folder back, I found that .htaccess file has been replaced with notepad icon & it has no name on it.

Can somebody please tell me which tool should I use for editing .htaccess file and what are its correct permissions?

Zulfi.

Comments

arvindsinghu’s picture

Hi, if you are using cPanel then try to use its own editor, if you have access to SSH then use nano or any other editor. In desktop, you can use notepad ++ or any other coding tool.
How to use .htaccess file to customize or improve a website

mitpatoliya’s picture

textpad or notepad ++ is best tool to edit .htaccess file.

You may not see name because of settings in window.