Hey guys.
I am not a big coder, but I thought I was doing it right.
Problem is my 404.html.
If you go on
http://www.apptranslation.com and you want to access a site which is not a directory, like /123, you will see the 404.html error page.
Unfortunately, if you ad another forward slash like .com/123/456 the 404 does not show up correctly.
I called Godaddy because I thought that was a problem with the directory settings but they told me they had a look into my script and something is messed up ... weeeeelll ... great ... I have no idea :-(
Any Ideas?
PHP Code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>404 @ AppTranslation.com</title>
<meta name="description" content="AppTranslation | High quality, affordable, fast translations for your mobile application" />
<meta name="keywords" content="404,page,not,found,AppTranslation.com" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<meta name="robots" content="block,follow" />
<link rel="shortcut icon" type="image/x-icon" href="http://www.apptranslation.com/favicon.ico">
<link rel="icon" type="image/vnd.microsoft.icon" href="http://www.apptranslation.com/favicon.ico"/>
<link href="stylecss/aptr.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: none;
}
-->
</style></head>
<body link="#024C5C" vlink="#024C5C" alink="#024C5C" class="oneColElsCtr">
<!-- starting css grid -->
<div id="container">
<div id="header">
<div id="tweety">
<h2><a href="http://twitter.com/apptranslation">"follow_us</a></h2>
</div>
<h1><a href="http://www.apptranslation.com">Home</a></h1>
<ul>
<li id="products"><a href="http://www.apptranslation.com/products/">AppTranslation Products</a></li>
<li id="benefits"><a href="http://www.apptranslation.com/benefits/">ApppTranslation Benefits</a></li>
<li id="references"><a href="http://www.apptranslation.com/references/">AppTranslation References</a></li>
</ul>
</div>
<div id="page404">
<div id="page_404_text">
<p>The thing is, we’ve tried looking for the page you requested on our servers, but we simply can’t find it.</p>
<p> </p>
<p>The good news is, we left you the main navigation bar on the top so you can access the content of the main page.</p>
<p> </p>
<p>AppTranslation.com</p>
</div></div>
<div id="footer">
<div id="hello">
<h7><a href="mailto:hello@apptranslation.com">contact</a></h7>
</div>
<a href="http://www.apptranslation.com/impressum/">Impressum</a> | <a href="http://www.apptranslation.com/links/">Links</a> | </div>
</div><!-- closing css grid -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-12593932-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>