WordPress.org

Ready to get started?Download WordPress

Forums

next_posts_link() problems (9 posts)

  1. bear133
    Member
    Posted 7 years ago #

    Hey i had a server crash in December and haven't been able to get my database out till now. So i got it all working after a while and all the links and all work even tho I'm currently under a different domain from when the blog was stated.

    All links except for the one that comes out of next_posts_link('« Previous Entries') and previous_posts_link('Next Entries »') on the archive.php page.

    If you want you can have a look at the site: http://www.ordenius.se/bear/?m=200609&paged=2 , scroll down and look at the links for "« Previous Entries" and "Next Entries »".

    Any ides on what might be wrong and how to fix it?

  2. bear133
    Member
    Posted 7 years ago #

    I have now spent a couple of hours looking threw the DB and some files... but still no ide on what might be wrong.

  3. richarduk
    Member
    Posted 7 years ago #

    All I can see is some sort of anchor on the next page http://www.ordenius.se/bear/bear/?m=200609#038;paged=1

    butno anchor on the previous page
    http://www.ordenius.se/bear/bear/?m=200609&paged=3

    These are the tags from
    http://codex.wordpress.org/Template_Tags

    # previous_post_link
    # previous_post (Deprecated)
    # next_post_link
    # next_post (Deprecated)
    # posts_nav_link

    For single post pages you should be using <?php previous_post_link(); ?>

    For multiple post pages you should be using <?php posts_nav_link(); ?>

  4. abouthere
    Member
    Posted 7 years ago #

    I have the same problem. I imported my data from my old WP2.0.6 site to 2.1

    I've a thread open elsewhere with no responses on this.

    I'm @ http://mybloodygreatnutshell.com My posts were from a different domain originally too.

    I'll be interested to hear how you solve this when you do please.

  5. abouthere
    Member
    Posted 7 years ago #

    Just a heads up - I found out that my web host (1&1) have downgraded my apache platform from 2.x to 1.x This messes up a whole host of things, especially if you use nice permalinks.

    My host, as always, are being useless about it and I might just have to live with this. I mention this for two reasons:

    1. in case any other 1&1 folk have the same issue and wonder why
    2. in case any other folk haven't checked what v of apache they might be on and are trying to use fancy permalinks.

  6. abouthere
    Member
    Posted 7 years ago #

    My hosts insist that they have made no changes to my apache version.

    How are you getting on bear133?

    Can anyone advise if Apache 2 is essential for Permalinks to work?

  7. chigh
    Member
    Posted 7 years ago #

    None of these work for me

    next_posts_link,
    previous_posts_link, and
    posts_nav_link

    on my 2.1.2 installation. I just noticed this, so I don't know if they didn't work with 2.1.1 or 2.1.

    Permalinks seem to be okay on this Apache/1.3.37 installation.

    Fixed. It was a plugin, Adhesive. I found another article which had a problem with that plugin creating this problem.

  8. deltd
    Member
    Posted 7 years ago #

    yup that was mine - glad someone else benefited from my findings.

    no word on whether the OP got sorted yet so this can be marked as resolved?

  9. bear133
    Member
    Posted 7 years ago #

    abouthere, sorry for not getting back i have had a massive working week.

    I could not figure out was what wrong. So i waited cuz i was bout to change hosting company. Now I'm with IX web hosing and it just works fine.

    So i have no idea what was wrong.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.