• Resolved nemo-maritime

    (@nemo-maritime)


    The issue I am having is that if I go to my main page, to see the main list of posts, the first set will show up, but if I try to go to “page 2”, or “older” then it still shows the first page posts.

    The most recent posts, 10 as I have it set up, all show up on different pages that are supposed to show older posts. When I click on page 2, or page 3 (I use WP-PageNavi), or “older posts” when I turn WP-PageNavi off, it still shows the same posts on each page. The url of the site changes from example.com to example.com/page/2/ and so on, but the same posts show up. I have tried deactivating all of the plugins for my site, but the issue still persists.

Viewing 15 replies - 1 through 15 (of 19 total)
  • try resetting permalinks
    admin – settings – permalinks

    Thread Starter nemo-maritime

    (@nemo-maritime)

    I went to the permalinks section, and it showed the old “If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.” And under it showed the .htaccess code,

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    So I copied it over to the .htaccess file in the main folder of the site, and now I just have,

    Options -Indexes
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    But the issue is still happening.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    You should still hit save on your permalinks changes (on the Permalinks page) to save it inside WP.

    Thread Starter nemo-maritime

    (@nemo-maritime)

    Tried hitting save, and then uploading again, but same issue. Also tried a different permalinks option, saved, and the issue is still going.

    Also, just in case someone does not get it, I can still see all of my posts. They all open up fine, and their url is right. The issue is browsing to them from the homepage through the, “page 1”, “page 2” or the “older posts” way. It wont let me browse the list on the homepage. Just wanted to point that out now.

    Thread Starter nemo-maritime

    (@nemo-maritime)

    Ok…. so I also tried using a different theme, and it looks like the default wp theme works fine. A few of the other themes are kind of messed up, as they only show a few posts, but most of them are fine. The main theme that I have been working around for 4 months now, is one of the themes that looks like (might) be giving me the trouble. Why would it not load the other pages right, but the others would, its just links that it is showing… I tried another theme by the same designer and it worked fine. Looked at the source code and they bothe have the same code in the area for the pagenavi, just one of them wont let me go to another page/s of the post list.

    Thread Starter nemo-maritime

    (@nemo-maritime)

    Also, I have two versions of my theme. One is a free version and one is a premium. I have tried both but it still wont show me posts on the next page, “example.com/page/2/” it shows the same stuff as it did on the main page, the homepage. So how do I get it to show the next page? What am I missing here?

    Thread Starter nemo-maritime

    (@nemo-maritime)

    Dont disappear on my now. Any ideas on how I can fix this?

    Thread Starter nemo-maritime

    (@nemo-maritime)

    *on ‘me’ now. I found out also that while the link changes in the url the selected page is not changed in the navigation. The navigation on the bottom, where it shows “page 1 2 3” and so on, if I click any of the page numbers, it will change the url, but the button still has page one selected….. same thing with all of the pages, they all change the url but the page is still on page one

    hi,
    that sounds more like a theme issue now.
    what happens if you switch temporarily to the default theme?

    Thread Starter nemo-maritime

    (@nemo-maritime)

    If I switch the theme into the default it works fine. It lets me go to older posts and the url works right when I click on different pages. I dont get how it messes it up with the theme, I thought it was all just links.

    Thread Starter nemo-maritime

    (@nemo-maritime)

    Looked again at the site, and like before, some other themes do the “older entries” and “page 1 2 3” and so on right. The theme worked with no problems before. Some of the themes I have tried are made by the same person. Some of the others work, the one I need does not. How can I fix the paging issue so that I can view older posts?

    Do you have something like a featured posts block in your theme, if so, try just disabling / removing it and seeing if the problem goes away…

    Or anything that has it’s own independant query…

    If removing / disabling sorts the problem, then post the problem code here and we’ll see about fixing it… πŸ˜‰

    I’d wager it being some special block of code with it’s own query that’s causing the problem…

    Thread Starter nemo-maritime

    (@nemo-maritime)

    I have that feature come with the theme, but I turned it off in the settings. Never used it on my site. The

    I’d wager it being some special block of code with it’s own query that’s causing the problem…

    part I understand and makes sense. Would the theme still be using the code even if I turned it off? I kind of doubt it because I have had it turned off for a while and the issues started some time ago, but I dont know exactly when because I havent used the “older posts” link in a while

    Thread Starter nemo-maritime

    (@nemo-maritime)

    Do you have something like a featured posts block in your theme, if so, try just disabling / removing it and seeing if the problem goes away…

    Or anything that has it’s own independant query…

    To see if there is an independant query, what should I be looking for?

    To see if there is an independant query, what should I be looking for?

    Look for..

    query_posts
    or
    new WP_Query

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Same posts from my homepage are on all of my different pages’ is closed to new replies.