Previous Page link not working (9 posts)

  1. RazorSA
    Posted 9 years ago #

    Hi, In my new blog, 2.0.1, at http://www.lsc.uct.ac.za, I can't get the "Previous Post" link at the very bottom of the blog to work at all...

    I have re-uploaded all of the files, and it still does not work. It does NOT depend on the theme, so it is the core files somewhere...

    Any ideas? Anywhere I could look next? Something I could try?


  2. jaredquinn
    Posted 9 years ago #

    You're theme should contain both of these:

    <?php next_posts_link('« Previous Entries') ?>
    <?php previous_posts_link('Next Entries »') ?>

    Which looking at the code output, it probably does.

    My first thought looking at this is an issue with your permalinks/.htaccess?

    Try Rebuilding your .htaccess file (Admin->Options->PermaLinks)

  3. RazorSA
    Posted 9 years ago #

    I don't actually have any permalinks setup, I have the default 'index.php?paged=2' instead of '/page/2'

    Any other ideas ????

    Try posting various variables to the index.php file...

    Try posting something random: '?dfsfd=2' , then try '?paged=2' ... What is the difference ???

  4. RazorSA
    Posted 9 years ago #

    ^bump^ ... Please help me out guys... This has got me confused !!!!!

  5. bob58
    Posted 9 years ago #

    Take a look into the file .htaccess. It looks like the permalink-structure is working the other way. You request ?paged=2 and the server complains about not finding /page/2 ...

  6. RazorSA
    Posted 9 years ago #

    Can't you please just take a look at the website, you will see exactly what I mean.

    I don't have htaccess setup at all at the moment !!!

    Just try view the previous posts...

    I think that there is an "inc" file which is corrupt or something...

  7. RazorSA
    Posted 9 years ago #


    Posted 9 years ago #

    You sure you haven't enabled url rewriting somewhere? The source of that page has ?paged=2 but it's being redirected to /page/2 which doesn't exist. For that to happen, you have a url rewriting scheme somewhere, 99.999% chance that it's in a .htaccess.

    See what I'm getting at?

  9. RazorSA
    Posted 8 years ago #

    I understand exactly what you are getting at. I know that it *must* be in a .htaccess file, except there are NO .htaccess files in my root directory or any other directory...

Topic Closed

This topic has been closed to new replies.

About this Topic