PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

404 Page

s2Member Plugin. A Membership plugin for WordPress®.

404 Page

Postby wesleysoccer » May 3rd, 2011, 6:58 pm

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
User avatar
wesleysoccer
Registered User
Registered User
 
Posts: 83
Joined: January 31, 2011

Re: 404 Page

Postby artEV » May 3rd, 2011, 10:12 pm

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?
Last edited by artEV on May 3rd, 2011, 10:27 pm, edited 1 time in total.
User avatar
artEV
Experienced User
Experienced User
 
Posts: 32
Joined: April 26, 2011

Re: 404 Page

Postby wesleysoccer » May 3rd, 2011, 10:23 pm

Ok...Thanks..I thought there was a default 404...I know all the new ET have them...I will check their forum to see...
User avatar
wesleysoccer
Registered User
Registered User
 
Posts: 83
Joined: January 31, 2011

Re: 404 Page

Postby artEV » May 3rd, 2011, 10:31 pm

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!
User avatar
artEV
Experienced User
Experienced User
 
Posts: 32
Joined: April 26, 2011

Re: 404 Page

Postby wesleysoccer » May 4th, 2011, 12:26 pm

So what your saying is just make a new file and call it 404 and drop the code inside the file. Thanks.
User avatar
wesleysoccer
Registered User
Registered User
 
Posts: 83
Joined: January 31, 2011

Re: 404 Page

Postby artEV » May 4th, 2011, 9:12 pm

Yes that's right. And place this 404.php file into /wp-content/themes/Nova/
User avatar
artEV
Experienced User
Experienced User
 
Posts: 32
Joined: April 26, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot], Yahoo [Bot] and 2 guests

cron