*

Recent

Author Topic: Error 404  (Read 3148 times)

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Error 404
« on: October 26, 2014, 07:30:02 PM »
Here are 2 simple ways to fix 404 Errors on your arcade.

1.) Add this line to the bottom of your .htaccess file ( change my-domain to your domain )
Code: [Select]
ErrorDocument 404 http://www.my-domain.com/

2.) Here is another way
Add the 404.png to your images folder and this line to the bottom of your .htaccess file
Code: [Select]
ErrorDocument 404 /404.html

Create a 404.html file
Edit the Domain URL, Site Description and Homepage URL
Code: [Select]
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>404 Page not found</title>
<meta name="viewport" content="width=device-width">
</head>
<body>
<div align="center">
      <h1>WHOOPS!</h1>
      <img src="images/404.png" alt="404" />
      <p>The Page You Requested Could Not Be Found On Our Server</p>
      <p>Go back to the <a href="javascript:history.go(-1)">Previous Page</a> or visit our <a href="http://www.my-domain.com">Homepage</a></p>
      <h2>Domain URL</h2>
      <h3>Site Description</h3>
</div>
</body>
</html>