[SOLVED] Custom 404 page

Hi, I searched this site for a while and could come up with nothing. Forgive me if it's already been answered, point me in the right direction and I'll be happy to read

I want to build a custom 404 page for use on my site with this theme, but have no idea how to go about it. This theme is crazy complex for me!

I greatly appreciate any assistance you can offer. Thanks!

#2

Mar 7, 2012, 08:25 PM

lmilesw

10,172 posts · Jul 2009

Central New York State USA

One thing you could build off of is the 404.php file that is in the Twenty Eleven theme folder. Just put a copy in the Atahualpa Theme folder and you will have a new 404 page with a search box. You could then go ahead and style as you like.

__________________~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

#3

Mar 8, 2012, 09:52 AM

cajunman4life

7 posts · Mar 2012

Quote:

Originally Posted by lmilesw

One thing you could build off of is the 404.php file that is in the Twenty Eleven theme folder. Just put a copy in the Atahualpa Theme folder and you will have a new 404 page with a search box. You could then go ahead and style as you like.

Thank you very much! I thought about doing something like this but didn't fully know the ramifications of pulling a file out of another theme. I'll play around with it a bit today.

#4

Mar 8, 2012, 10:20 AM

lmilesw

10,172 posts · Jul 2009

Central New York State USA

I didn't know either when I first tried it. Sometimes it's a matter of just "giving it a shot". Worse case scenario for this situation is you would have to delete the 404.php file.

Let us know how it works out for you.

__________________~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

#5

Mar 8, 2012, 06:27 PM

cajunman4life

7 posts · Mar 2012

So, I did that, and the resulting 404 page was hopelessly borked.

Luckily, it turned out to be much, much easier than it had to be. All I had to do was be stuck at work for a while waiting for another team to do something before I can begin my work. This gave me some "free time."

Looking in the index.php file, it would appear the 404 is built in. So I copied just the top part of the file, and the bottom footer call. I added my own little flair in the middle, and here is my result: