How to change file permissions of .htaccess

I want to redirect wrong URLs to a custom 404 page, but i am unable to edit the .htaccess file
How do I change it’s permissions?

@normalguy said:
I want to redirect wrong URLs to a custom 404 page, but i am unable to edit the .htaccess file
How do I change it’s permissions?

Hi,
are you trying to change the default .htaccess?
This way it will not work, you will have to create a new one in HTDOCS folder or use the “Custom error pages” function of your control panel. Using it will be easier, the configuration will be more automated.

1 Like

Oh, I didn’t know that.
It’s fixed now.

Thank you for your help.