How to Edit .htaccess Files on Mac OS X
Open your FTP client and log in to your server., Go to the root folder of your directory and look the for the .htaccess file., Copy this file to your desktop or any other folder where you store your website files., Open Terminal and enter the...
Step-by-Step Guide
-
Step 1: Open your FTP client and log in to your server.
FileZilla is an example of a widely used and free FTP client. -
Step 2: Go to the root folder of your directory and look the for the .htaccess file.
It is a hidden file, so you might need to set your FTP client to show hidden files.
This is typically in the "View" menu. , The file will immediately disappear.
Don't worry, it's still there, it's just invisible. ,, All hidden files, such as your .htaccess file, should now be visible.
To reverse this, go to terminal app and type in the same command, but with "NO" instead of "YES". -
Step 3: Copy this file to your desktop or any other folder where you store your website files.
-
Step 4: Open Terminal and enter the following command: defaults write com.apple.finder AppleShowAllFiles YES
-
Step 5: Relaunch your finder app
-
Step 6: by right clicking the icon in the dock menu and clicking restart/relaunch.
Detailed Guide
FileZilla is an example of a widely used and free FTP client.
It is a hidden file, so you might need to set your FTP client to show hidden files.
This is typically in the "View" menu. , The file will immediately disappear.
Don't worry, it's still there, it's just invisible. ,, All hidden files, such as your .htaccess file, should now be visible.
To reverse this, go to terminal app and type in the same command, but with "NO" instead of "YES".
About the Author
Timothy Vasquez
Experienced content creator specializing in practical skills guides and tutorials.
Rate This Guide
How helpful was this guide? Click to rate: