には表示されません。
フォルダに新しいindex.htmlまたはindex.phpファイルを作成し、これらの行を本文に書き込んでください。 HTMLで
<?php
header("Location:../index.php");
?>
:PHPで
あなたがブロックすることができます
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1;url=http://www.yourDomainName.com">
<script language="javascript">
window.location.href = "http://youDomainName.com"
</script>
<title>Page Redirection</title>
</head>
<body>
If you are not redirected automatically, follow the <a href='http://www.yourDomainName.lk'>link to Your domain name home page</a>
</body>
</html>
この方法から
www.yourDomain.com/img
フォルダ
www.yourDomain.com/css
フォルダとその他のフォルダを使えば、簡単にアクセスを拒否したいです。私はまだハッカーがこのファイルをバイパスできるのかどうかはわかりませんが、これは簡単な解決策です。これを試して、あなた自身の答えを見てください。