1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WP Pages showing same posts as Homepage

Discussion in 'Blogging' started by TheMatrix, Mar 9, 2010.

  1. TheMatrix

    TheMatrix BANNED BANNED

    Joined:
    Dec 20, 2008
    Messages:
    3,444
    Likes Received:
    7,279
    Hey

    I have just noticed that on my WP blog, the pages are sowing same posts as homepage.

    Like, when I go to:

    site.com/page/2

    I see same posts as homepage. Anyone knows why this is happening and a solution?

    Thanks
    TM
     
  2. kingpin123

    kingpin123 Registered Member

    Joined:
    Apr 2, 2009
    Messages:
    64
    Likes Received:
    22
    Home Page:
    Don't no how but i think The theme you are using made your blog a static page???
     
  3. mackay22

    mackay22 Regular Member

    Joined:
    Jul 22, 2009
    Messages:
    244
    Likes Received:
    93
    if you are using a custom made theme perhaps you have forgotten to put in a "page.php" file template,

    if you have a "page.php" file in your theme folder open it up and make sure the "loop" isnt the same as the "index.php" loop, basically it should be a similar loop to what you have on the file "single.php" (if your single posts are working correctly that is)
     
  4. TheMatrix

    TheMatrix BANNED BANNED

    Joined:
    Dec 20, 2008
    Messages:
    3,444
    Likes Received:
    7,279
    I have a page.php file. I have copied the entire single.php file into it. But still, no change.
     
  5. mackay22

    mackay22 Regular Member

    Joined:
    Jul 22, 2009
    Messages:
    244
    Likes Received:
    93
    does the same thing happen if you are not using pretty permalinks?
     
  6. TheMatrix

    TheMatrix BANNED BANNED

    Joined:
    Dec 20, 2008
    Messages:
    3,444
    Likes Received:
    7,279
    ^^Haven't tried.

    Here are 3 of my pages:



    Page.php:
    http://wordpress.pastebin.com/beJXjC5X

    Single.php:
    http://wordpress.pastebin.com/XpQBJYGX

    Theme.php (For structure of theme)
    http://wordpress.pastebin.com/NRiGdCLd