error404.html
まずメモ帳で、以下の4行をファイル名を書く。
それを「.htaccsess」でアップロードする
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 500 /error/500.html
私は、ルートにerrorフォルダを作り、そこに4つのエラーhtmlを作成する。
まずメモ帳で、以下の4行をファイル名を書く。
それを「.htaccsess」でアップロードする
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 500 /error/500.html
私は、ルートにerrorフォルダを作り、そこに4つのエラーhtmlを作成する。