WordPress custom index.php frontpage - paging issue (/page2, etc) (4 posts)

  1. robbono
    Posted 5 years ago #

    I use a totally customized static frontpage with several loops to create a unique "newspaper" style frontpage. I accomplish these loops using both query_posts() and new WP_Query().

    However, I have one problem: Google somehow sees pagination for my homepage, like this:


    However, the content on these pages is identical, which I suspect will lead Google to penalize me.

    Since the frontpage doesn't use pagination, I'd like to disable it. However, I have no idea how to do so.

    Anyone have any ideas?

  2. Michael
    Forum Moderator
    Posted 5 years ago #

    check if you have 'next_posts_link()' or 'previous_posts_link()' or 'posts_nav_link()' somewhere in your index.php.

  3. robbono
    Posted 5 years ago #

    I have neither in my code.

  4. webjunk
    Posted 5 years ago #

    WHat query_posts you have?
    query_posts( 'posts_per_page=-1&cat=' . $cat )

Topic Closed

This topic has been closed to new replies.

About this Topic