The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. On-Page / Site Optimization
    4. Index.php getting Duplicate page content.

    Index.php getting Duplicate page content.

    On-Page / Site Optimization
    3 3 943
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ivoryred
      ivoryred last edited by

      I am quite new to SEO and have now got my first results. I am getting all my index.php pages returned as Duplicate page content.

      ie:

      blue-widgets/index.php
      blue-widgets/

      green-widgets/large/index.php
      green-widgets/large/

      How do solve this issue?

      1 Reply Last reply Reply Quote 0
      • Brian-H
        Brian-H last edited by

        You can resolve this many ways.

        You can redirect index.php pages to the non index.php pages (or vice versa) in your htaccess.

        You can add a rel-canonical tag to the pages to show which is your primary type

        You can find where your page links to the index.php types (it could be breadcrumbs or internal links) and amend them.

        Here is a good article I found by googling seomoz fix duplicate content

        1 Reply Last reply Reply Quote 0
        • Unity
          Unity last edited by

          Add a permanent 301 redirect from your /index page and point to your root domain (i.e. non /index pages).
           - You need to do the redirect over canonical because it's a duplicate page/URL rather than a page with blocks of similar content.

          Update all mentions within your website that link to the /index page so that they only link to the non /index page. With CMS's you'll need to look where things get automatically added, like links in sitemap, footer, breadcrumbs, the 'home' link and sub-navigation.You may need a developer to remove them if not accessible via the CMS.

          Then your duplicate content issues will be gone.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Duplicate content issues - page content and store URLs
            MonicaOConnor
            MonicaOConnor
            0
            2
            161

          • How to optimize WordPress Pages with Duplicate Page Content?
            lautman
            lautman
            0
            4
            125

          • Duplicate Content - What can be duplicate in two different product pages.
            David-Kley
            David-Kley
            0
            4
            187

          • Index Page Content
            BlueprintMarketing
            BlueprintMarketing
            0
            6
            106

          • Duplicate Page Titles and Duplicate Content
            AlanWills
            AlanWills
            0
            7
            280

          • Duplicate Page Content on Empty Manufacturer Pages
            dawnieando
            dawnieando
            0
            4
            248

          • I have one page on my site... but still get duplicate name and content errors.
            KeriMorgret
            KeriMorgret
            0
            5
            334

          • Crawl Diagnostics - Duplicate Content and Duplicate Page Title Errors
            JoelWolfgang
            JoelWolfgang
            0
            3
            809

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy