Title: WordPress posts page navigation not working
Last modified: August 22, 2016

---

# WordPress posts page navigation not working

 *  [stephanium](https://wordpress.org/support/users/stephanium/)
 * (@stephanium)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-posts-page-navigation-not-working/)
 * First off all sorry for my English…
 * I already tried every possible solution I found in this and other Forums but 
   I just don’t get it:
    -On my Homepage the recent 10 Posts are shown -At the bottom
   I’ve got a Link “Older Posts” -The exactly same Posts are shown, but “/pages/
   2/” was added to the main URL -When i scroll to the bottom the Links “Older Posts”
   and “Newer Posts” Show up. If I choose one of the Links, the URL changes but 
   still the same 10 Posts are shown
 * I also tried it with the Themes “Twenty Ten”, “Twenty Eleven”, “Twenty Thirteen”,“
   Twenty Fourteen” and two random other Themes from the most popular Themes.
 * I think the Problem might be the index.php file in the Themes Directory. I played
   a Little with this File but didn’t get the solution. At the Moment I’ve got the
   restored original index.php File.
 * Has anyone got an idea what this Problem might cause?

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [stephanium](https://wordpress.org/support/users/stephanium/)
 * (@stephanium)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-posts-page-navigation-not-working/#post-5445886)
 * Here’s the Content of my index.php File:
 *     ```
       <?php
       /**
        * The main template file
        *
        * This is the most generic template file in a WordPress theme
        * and one of the two required files for a theme (the other being style.css).
        * It is used to display a page when nothing more specific matches a query.
        * For example, it puts together the home page when no home.php file exists.
        *
        * @link http://codex.wordpress.org/Template_Hierarchy
        *
        * @package WordPress
        * @subpackage Twenty_Twelve
        * @since Twenty Twelve 1.0
        */
   
       get_header(); ?>
   
       	<div id="primary" class="site-content">
       		<div id="content" role="main">
       		<?php if ( have_posts() ) : ?>
   
       			<?php /* Start the Loop */ ?>
       			<?php while ( have_posts() ) : the_post(); ?>
       				<?php get_template_part( 'content', get_post_format() ); ?>
       			<?php endwhile; ?>
   
       			<?php twentytwelve_content_nav( 'nav-below' ); ?>
   
       		<?php else : ?>
   
       			<article id="post-0" class="post no-results not-found">
   
       			<?php if ( current_user_can( 'edit_posts' ) ) :
       				// Show a different message to a logged-in user who can add posts.
       			?>
       				<header class="entry-header">
       					<h1 class="entry-title"><?php _e( 'No posts to display', 'twentytwelve' ); ?></h1>
       				</header>
   
       				<div class="entry-content">
       					<p><?php printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentytwelve' ), admin_url( 'post-new.php' ) ); ?></p>
       				</div><!-- .entry-content -->
   
       			<?php else :
       				// Show the default message to everyone else.
       			?>
       				<header class="entry-header">
       					<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentytwelve' ); ?></h1>
       				</header>
   
       				<div class="entry-content">
       					<p><?php _e( 'Apologies, but no results were found. Perhaps searching will help find a related post.', 'twentytwelve' ); ?></p>
       					<?php get_search_form(); ?>
       				</div><!-- .entry-content -->
       			<?php endif; // end current_user_can() check ?>
   
       			</article><!-- #post-0 -->
   
       		<?php endif; // end have_posts() check ?>
   
       		</div><!-- #content -->
       	</div><!-- #primary -->
   
       <?php get_sidebar(); ?>
       <?php get_footer(); ?>
       ```
   
 * It is still the Original index.php from Twentytwelve but I think I might have
   to Change something in this File.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-posts-page-navigation-not-working/#post-5445897)
 * a plugin might be the cause, if the problem persists even if you change the theme.
 * have you tried to temporarily deactivate **all **plugins?
 * if that solves the problem, you can them re-activate one plugin at a time and
   test inbetween, to find out which plugin was causing the issue.
 *  Thread Starter [stephanium](https://wordpress.org/support/users/stephanium/)
 * (@stephanium)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-posts-page-navigation-not-working/#post-5446009)
 * I deaktivated all Plugins – still the same Problem
 * I also installed the WP Db Abstraction Plugin. So my DB type is MSSQL and not
   MYSQL. Maybe thats the cause? Well I can’t deactivate that Plugin.
 *  [Safeer](https://wordpress.org/support/users/safeerz/)
 * (@safeerz)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-posts-page-navigation-not-working/#post-5446053)
 * Is it working when you use default permalinks structure ?
 *  Thread Starter [stephanium](https://wordpress.org/support/users/stephanium/)
 * (@stephanium)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-posts-page-navigation-not-working/#post-5446076)
 * Exactly the same problem with the Default permalinks.
 *  Thread Starter [stephanium](https://wordpress.org/support/users/stephanium/)
 * (@stephanium)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-posts-page-navigation-not-working/#post-5446082)
 * I just noticed:
    -I’ve got 10 Posts and Maximum 2 are shown per Page -On my first
   Page (Home) the newest 2 Posts are shown -When I go to the second Page (Older
   Posts) the same Posts are shown -When I go to the third Page (Older Posts) the
   same two Posts are shown AND the next 2 older Posts (4 Posts are shown) -When
   I go to the fouth Page the same Posts as on the third Page AND the next 2 older
   Posts are shown (6 Posts are shown) -…and so on
 * So only on Page 1 and 2 the exact same Posts are shown. From Page 3 and above
   its adding the Posts it should, but the other Posts dont hide.
 *  Thread Starter [stephanium](https://wordpress.org/support/users/stephanium/)
 * (@stephanium)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-posts-page-navigation-not-working/#post-5446146)
 * anyone got an idea?
 *  Thread Starter [stephanium](https://wordpress.org/support/users/stephanium/)
 * (@stephanium)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-posts-page-navigation-not-working/#post-5446150)
 * I finaly found the Problem:
 * The “WP DB abstraction plugin” caused the Problem. by following the steps on 
   [this](http://geeks.vivavivu.com/2014/10/plugin-to-make-wordpress-work-with-sql.html)
   page, it resolved my Problems.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘WordPress posts page navigation not working’ is closed to new replies.

## Tags

 * [navigation](https://wordpress.org/support/topic-tag/navigation/)
 * [newer posts](https://wordpress.org/support/topic-tag/newer-posts/)
 * [older posts](https://wordpress.org/support/topic-tag/older-posts/)
 * [page-navigation](https://wordpress.org/support/topic-tag/page-navigation/)
 * [post not showing](https://wordpress.org/support/topic-tag/post-not-showing/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 3 participants
 * Last reply from: [stephanium](https://wordpress.org/support/users/stephanium/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-posts-page-navigation-not-working/#post-5446150)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
