Results 1 to 2 of 2

Thread: Previous posts link reloads current page.

  1. #1
    Join Date
    Jan 2010
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Previous posts link reloads current page.

    Hi all,

    I'm having a slight problem within my Wordpress based blog. When a user hits the 'Older posts' link it simply reloads the current page. Although if you look in the URL bar it has in fact linked to the previous page but instead displays the same content.

    ie. http://danielmeade.net/page/2/ appears the same as http://danielmeade.net

    Here's the line of code I am using for this action:
    Code:
    <?php next_posts_link('Older Entries') ?>
    Can any help me out here?

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    It seems your index.php (http://danielmeade.net/)) and http://danielmeade.net/page/anynumber will load the same content. There is probably an include and maybe an htaccess set up somewhere for the /page/number. I'd recommend a wp blog though because there are a lot of files and settings with wp. You could try and change it manually as well if you want but i dont even know where the page you're trying to link to is, or the content of it. http://wordpress.org/support/
    Corrections to my coding/thoughts welcome.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •