WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. robbono
    Member
    Posted 3 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:

    http://mysite.com/page/1/
    http://mysite.com/page/2/

    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. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

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

  3. robbono
    Member
    Posted 3 years ago #

    I have neither in my code.

  4. webjunk
    Member
    Posted 3 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