Can't See htaccess File on Mac?

Mac with Files on Screen
Mac with Files on Screen

If you can't see htaccess file on Mac, this is what to do.

I needed to make a htaccess 301 redirect recently, but my Mac wouldn't allow me to save the file as .htaccess. The error code says:

You can’t use a name that begins with a dot “.” because these names are reserved for the system. Please choose another name.
Mac Computer

Here is the solution...

How to view htaccess file on Mac

Launch an FTP program and view the file on the client side.

Viewing htaccess File in an FTP Program
Viewing htaccess File in an FTP Program

Editing the htaccess file

With the htaccess file visible on the client side, right mouse click on the file, and select Edit from the drop down menu.

htaccess File Menu Options
htaccess File Menu Options

So now that you know how to view htaccess file on Mac, you might like the 301 redirect code snippet.

More