Page 1 of 1

404 Page

PostPosted: May 3rd, 2011, 6:58 pm
by wesleysoccer
Can you look into this...I have a 404 page but when I make a mistake with my url it goes to my products page? Any thoughts on this...I think it's the plugin. Thanks.

www.in2organization.com

Re: 404 Page

PostPosted: May 3rd, 2011, 10:12 pm
by artEV
Very strange. I use this same theme (Nova) and S2M together too. By default, this theme does not have a 404 php file, so I'm assuming you created one and plonked it into the theme folder?

Re: 404 Page

PostPosted: May 3rd, 2011, 10:23 pm
by wesleysoccer
Ok...Thanks..I thought there was a default 404...I know all the new ET have them...I will check their forum to see...

Re: 404 Page

PostPosted: May 3rd, 2011, 10:31 pm
by artEV
Here's something to get you started, based on the generic Nova look:

Code: Select all
<?php get_header(); ?>
<div id="main-content" class="fullwidth">
   <div class="container clearfix">      
      <div id="entries-area">
         <div id="entries-area-inner">
            <div id="entries-area-content" class="clearfix">
               <div id="content-area">
                  <div class="entry post clearfix">                     
                     
<div class='et-box et-info'>
<div class='et-box-content' style="height:280px !important;">

<div class='one_half'>
<h1>404</h1>
</div>

<div class='one_half last'>
<h2>Sorry, the page you are looking for cannot be found</h2><br />
<p><strong>We apologize for this error.</strong><br />In the meantime, please check out these links:<br />
<ul>
<li><a href="http://site.com">Site home page</a></li>
<li><a href="http://site.com/wp-login.php?action=register">Register a <strong>free</strong> account</a></li>
<li><a href="http://site.com/membershipoptionspage">Our PRO membership plans</a></li>
</ul>
</p>
</div>

</div>    
</div>

<div class='clear'></div>
                  </div> <!-- end .entry -->
               </div> <!-- end #content-area -->
            </div> <!-- end #entries-area-content -->
         </div> <!-- end #entries-area-inner -->
      </div> <!-- end #entries-area -->
   </div> <!-- end .container -->
</div> <!-- end #main-content -->
      
<?php get_footer(); ?>


Copy and paste this into a 404.php file, put it into the theme folder and try to see if you still face this error.
(You can further customize the 404 later of course :))

Hope this helps!

Re: 404 Page

PostPosted: May 4th, 2011, 12:26 pm
by wesleysoccer
So what your saying is just make a new file and call it 404 and drop the code inside the file. Thanks.

Re: 404 Page

PostPosted: May 4th, 2011, 9:12 pm
by artEV
Yes that's right. And place this 404.php file into /wp-content/themes/Nova/