How to rename _.htaccess OR htaccess.txt to .htaccess on Windows

Trabla: How to rename _.htaccess OR htaccess.txt to .htaccess on Windows


How to rename _.htaccess OR htaccess.txt to .htaccess on Windows
If you try to rename  file via standard windows renaming :)
you will get following error - "You must type a file name "
How to rename _.htaccess OR htaccess.txt to .htaccess on Windows tutorial
.htaccess is a configuration file for use on web servers running the Apache Web Server software. When a .htaccess file is placed in a directory which is in turn 'loaded via the Apache Web Server', then the .htaccess file is detected and executed by the Apache Web Server software. These .htaccess files can be used to alter the configuration of the Apache Web Server software to enable/disable additional functionality and features that the Apache Web Server software has to offer. These facilities include basic redirect functionality, for instance if a 404 file not found error occurs, or for more advanced functions such as content password protection or image hot link prevention.

Solving:



Watch on YouTube


1. Open Windows Command Promt

How to rename _.htaccess OR htaccess.txt to .htaccess on Windows tutorial 1


2. Type  CD <path_to_folder_with_htaccess>  and press Enter
e.g.

CD C:\xampp\htdocs\typo3

3. Type

RENAME _.htaccess .htaccess

or if you have htacess.txt file

RENAME htaccess.txt .htaccess

and press Enter

How to rename _.htaccess OR htaccess.txt to .htaccess on Windows tutorial 2



Hooray !!! :) So easy :)

No comments:

Post a Comment