WordPress.org

Ready to get started?Download WordPress

Forums

"previous" doesn't point to remaining content (5 posts)

  1. entropicus
    Member
    Posted 8 years ago #

    I couldnt seem to find any posts about this:

    When I scroll to the bottom of my page and select "previous", it doesn't seem to point to any previous entries -- even though there are lots there.

    But, when I select a month from the archives, doing that will show the entries that normally should have been called from the previous link.

    If anyone can point me in the right direction, I would be grateful.

    my site:
    http://entropicbloom.xtort.net/

  2. techwench
    Member
    Posted 8 years ago #

    Did you get the problem fixed? Because it's working for me.

  3. entropicus
    Member
    Posted 8 years ago #

    I am using a theme which has for its variable "posts_nav_link"

    but when I look at the defult index.php, the variable seems to be "previous_posts_link"

    I am using 1.5.2, but the theme is compatible with this version. When I switch themes and use the default Kubrick, it does the same thing -- when you select "previous", the next page say "not found". But when I look in my archives, and select a date from there which is previous to the last entries on the page, it displays them.

    I cant figure this one out at all.

  4. entropicus
    Member
    Posted 8 years ago #

    To shed some more light on this, there is some more about this sort of thing at:
    http://codex.wordpress.org/Using_Permalinks (down the page, under "Paged Navigation Doesn't Work")

    It looks like htaccess was the cause(somehow?).
    My blog is a subdomain: "blog.example.com", and the WP install is "example.com/wordpress". This is configured properly in the options/general.

    I deleted the htaccess file at "example.com/wordpress", rebuilt the permalinks, and then uploaded the old htaccess file again to "example.com/wordpress".

    Now, mysteriously, the "page2" navigation works on the categories' pages, whereas before, the "previous" navigation only seemed to work on the main page.(...that was the whole original problem, summarily)

    Strange thing is, that it worked, but I have no idea why; the htaccess in the "example.com/wordpress" dir, has the exact same info as before(?!)

    That info in the "example.com/wordpress/.htaccess" file is nothing more than (both then and now):
    --------
    RewriteEngine On
    RewriteBase /

    RewriteCond %{HTTP_HOST} !^example.com$ [NC]
    RewriteCond %{HTTP_REFERER} ^(.*)$ [NC]
    RewriteRule ^(.*)$ %1 [R=301,L]

    SetEnvIfNoCase Referer ".*(bad|spamwords).*"BadReferrer

    order deny,allow
    deny from env=BadReferrer
    -----

  5. estjohn
    Member
    Posted 8 years ago #

    I had that problem when I had - say - 4 posts per page. I changed the configuration to 6 posts per page. Increasing the amount of posts per page decreased the number of pages. The Site still thought that I had more pages than I did. I ended up going back to 4 posts.. and it fixed the problem. There should be another way to resolve it. I did not try clearning my cookies and internet files cache or try it from another browser though.

    May not be the same problem you had but I had the same results from the config change I had made.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.