Title: Paged Navigation doesn&#8217;t Work
Last modified: August 19, 2016

---

# Paged Navigation doesn’t Work

 *  Resolved [Pedro](https://wordpress.org/support/users/igmosi/)
 * (@igmosi)
 * [16 years ago](https://wordpress.org/support/topic/paged-navigation-doesnt-work/)
 * Hi guys!!
 * My page navigation isn’t working since I changed the Blog URL. the core wordpress
   is [http://www.igmosi.com/blog](http://www.igmosi.com/blog) but it’s showed in
   [http://www.igmosi.com](http://www.igmosi.com). In the blog section, the links
   previous and next post doesnt work correctly, the page 1 is always showed.
 * I reseted the .htaccess file, I have permalinks (blog/%postname%), … mi .htaccess
   is:
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond%{
   REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.
   php [L] </IfModule>
 * # END WordPress
 * I have no idea…Where is the problem??
    [http://www.igmosi.com/blog](http://www.igmosi.com/blog)
 * Thank you!!
    -nacho

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

 *  Thread Starter [Pedro](https://wordpress.org/support/users/igmosi/)
 * (@igmosi)
 * [16 years ago](https://wordpress.org/support/topic/paged-navigation-doesnt-work/#post-1500097)
 * The problem is code php tha tI changed to style differently the first post. I
   copied the code from [here](http://wordpress.org/support/topic/355478?replies=2),
   but I cant see where is the porblem.
 * thnaks.
    -nacho
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [16 years ago](https://wordpress.org/support/topic/paged-navigation-doesnt-work/#post-1500107)
 * the problem with that code is that it does not take pagination (the `paged` parameter
   for query_posts()) in consideration.
    and using the `offset` parameter does general
   not work well with pagination.
 * checking this article might help:
    [http://stylizedweb.com/2008/08/13/query_posts-pagination-problem/](http://stylizedweb.com/2008/08/13/query_posts-pagination-problem/)
 * to style the first post different, you could use a different method that utilizes
   a counter variable to distinguish the first post (and only on front page);
 * schematic:
 *     ```
       <?php $counter = 1;  ?>
   
       <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
   
         <?php if(($counter == '1')&&!is_paged()) { ?>
           <?php // show the first post different ?>
         <?php } else { ?>
           <?php // show all other posts in their own way ?>
         <?php } ; ?>
         <?php $counter++; ?>
   
       <?php endwhile; else: ?>
   
       <?php endif; ?>
       ```
   
 *  Thread Starter [Pedro](https://wordpress.org/support/users/igmosi/)
 * (@igmosi)
 * [16 years ago](https://wordpress.org/support/topic/paged-navigation-doesnt-work/#post-1500205)
 * Thank you very much!!
 * It fixed it!!!!
 * -nacho

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

The topic ‘Paged Navigation doesn’t Work’ is closed to new replies.

## Tags

 * [navigation](https://wordpress.org/support/topic-tag/navigation/)
 * [page](https://wordpress.org/support/topic-tag/page/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Pedro](https://wordpress.org/support/users/igmosi/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/paged-navigation-doesnt-work/#post-1500205)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
