.htaccess

Status
Not open for further replies.

callumacrae

not alex mac
Community Support
Messages
5,257
Reaction score
97
Points
48
Where is .htaccess and can I edit it?

I'm trying to install a MOD for my forum.

Thanks.
 

TechAsh

Retired
Messages
5,853
Reaction score
7
Points
38
Well it could be anywhere in your public_html folder. But it'll probably be in the same folder as your index.php file. You can edit it using a your normal editor or use cPanel's file manager.

NOTE:
If you are using cPanel's File manager you will have to tick the "Show hidden files" box.
 

htech

New Member
Prime Account
Messages
27
Reaction score
0
Points
1
.htaccess is in every folder. To edit it open it with a plain text editor, such as Notepad
 
Last edited:

callumacrae

not alex mac
Community Support
Messages
5,257
Reaction score
97
Points
48
Sorry, but how do I view hidden files?

I can't see any box.
 
Last edited:

TechAsh

Retired
Messages
5,853
Reaction score
7
Points
38
When you click on the "File Manager" button in cPanel it should bring up a box in the middle of the screen, in that box there should be the option to "Show hidden files".

You could also use FTP, as that'll show hidden files by default.
 

callumacrae

not alex mac
Community Support
Messages
5,257
Reaction score
97
Points
48
.htaccess is empty.

The MOD says to find:

Code:
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>

and add some stuff after it.

What should I do?
 
Status
Not open for further replies.
Top