Jump to content
php.lv forumi

Kā uzstasīt 404 - Not Found?


Archa

Recommended Posts

ja kr4 tad jaieliek 404.php šāds kods?? un folderi tas .htaccess?? vai ari uzstaisit ka index.php ar šādu tekstu un ielikt folderi, jo ieliekot to htaccess rada 403 forbidded erroru nevis 404 not found!

 

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
 <title>404 - Not Found</title>
</head>
<body>
 <h1>404 - Not Found</h1>
</body>

</html>

 

 

P.S view page Source laba lieta :D

Edited by Archa
Link to comment
Share on other sites

×
×
  • Create New...