Page 1 of 11
Forum moderator: bigblog 
uCoz Community » General Information » First Steps with uCoz » How to make your personal 404 page
How to make your personal 404 page
Davor24
Posts: 327
Reputation: 10

Message # 1 | 9:58 PM
The easiest way to create your own 404 page for your site:

Open any text editor ( i use notepad ) put this code in it:


Quote
<html><head>
<title>Site Name</title>
</head>

<body style="">
<center><h1>Error 404 </h1></center>
<center><img src="your picture or site logo" border="0"></center>
<center><table><tbody><tr>
<td align="center"><b><br><br><a href="your site url">Back to Main Page</a><br><br>Page Not Found</b></td>
</tr></tbody></table></center>
<br>
<br>

<center><p>
<small>Copyright My Site © 2012.</small>
</p></center>
</body></html>


just insert your information in the places marked in red and will have you own 404 page with a link to redirect to the home page of your site...

After you do this save the file as 404.htm and upload it in the root folder of File Manager ( will automatically replace a standard uCoz 404 page )...




example of how the page will look ( these are my data with yours will be different depending on your image ):

Attachments: 4173265.jpg(67Kb) · 4677182.jpg(61Kb)
Stroud458
Posts: 30
Reputation: 0

Message # 2 | 5:35 PM
Is there a way to change the size of the image?
Pancake_old
Posts: 731
Reputation: 8

Message # 3 | 5:44 PM
Cool man. Thanks I will work on mine in the near future. Always cool to have a look ahead ...its almost like your batman
well not really but that was funny right there biggrin

ePal(Join and be rewarded with our new look)
Bookface
K-Love (Listen Live)
Davor24
Posts: 327
Reputation: 10

Message # 4 | 2:34 PM
Quote (Stroud458)
Is there a way to change the size of the image?


of course, set the size you want smile
CoffeeCone
Posts: 687
Reputation: 41

Message # 5 | 2:37 PM
Hey man, I would suggest against using the <center> tag because it has already been deprecated and browsers might soon remove support for it in the near future, you can instead use a <div> and set the css's text-align to center. smile
"Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.


uCoz Community » General Information » First Steps with uCoz » How to make your personal 404 page
Page 1 of 11
Search: