Question:
How do i write in the middel of my website where its says 404 error (habbmusic.com)?
anonymous
2008-12-14 07:42:46 UTC
Hey, i am wondering how do i write in the middle of my website you can see what i mean by going to www.habbmusic.com In, the middle where it says 404 error.. Where in idex.html? Thanks.
Three answers:
arbpen
2008-12-14 08:11:51 UTC
It looks like there may be an include ah/home.php , but that is just the start of your problems.



Did you write the markup, or did you use some kind of page maker tool? This may be some of the worst markup I have ever seen. It is so bloated, using tables for positioning, slice and dice images, spacer.gif (how 90's). This thing is going to be a mess to debug later. You would be better off starting from scratch.



Go over to http://htmldog.com and read the turorials. Get yourself a plain text editor and start over.
dubbarob
2008-12-14 07:59:19 UTC
I think you need to read some instructions about web site building.

the 404 error came up because the page you requested is not in the right place or doesn't exist. Be sure you have a page called index.html (OR index.php if your site is using php instead of html) in the root directory of your hosting server. The root directory is outside of any folders. If your site is using php, it would help to know that when answering questions.

Also - if you are using php, remove the page of the same name ending in html. (index.html versus index.php) The server will deliver html pages before php.
mxfoyster
2008-12-14 08:02:54 UTC
the 404 means the server cannot find the document. It is trying to find home.php in a subdirectory called ah within your document root.





Looking at the source, I can see it is being called from an IFRAME from your index.html.



You can either create the home.php file within it's proper subdirectory or you can change the url that the iframe is calling to a page of your choosing. Look for this line in your code:-