How to create .htaccess file and fix website 404 error in cpanel

How to create .htaccess file and fix website 404 error in cpanel

Digital Rakesh

4 года назад

13,181 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@tiberiusmogaka2874
@tiberiusmogaka2874 - 03.12.2023 00:24

Thanks a lot. Problem solved. Let me put the code here for anyone who might neeed it.

RewriteOptions inherit
ErrorDocument 404 /index.php
RewriteEngine On

Ответить
@mikoakane1864
@mikoakane1864 - 25.08.2023 00:59

Forbidden
You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

why? dou you know about this

Ответить
@ChuppyProduction
@ChuppyProduction - 13.02.2023 01:33

hello bro after 100+ videos this is awesome .. straightforward ... thank you ... but i got a question how to edit the index.html file .. because i didnt see it in my public_html folder

Ответить
@lifegyan3433
@lifegyan3433 - 28.12.2022 16:26

Thank you so much. Problem solved

Ответить
@nezirnesimi1804
@nezirnesimi1804 - 18.10.2021 01:07

Thank you so much. Problem solved

Ответить
@josephrizal
@josephrizal - 01.02.2021 21:06

I still got 404 after I add .htaccess. What should I do then? Please help me

Ответить
@gadgetsbazaar
@gadgetsbazaar - 29.10.2020 09:07

where is code ?

Ответить
@movietvtz5637
@movietvtz5637 - 28.06.2020 16:44

it did'nt solve my prob bro

Ответить