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. The crawl diagnosis indicated that my domain www.mydomain.com is duplicate with www.mydomain.com/index.php. How can I correct this issue?

    The crawl diagnosis indicated that my domain www.mydomain.com is duplicate with www.mydomain.com/index.php. How can I correct this issue?

    On-Page / Site Optimization
    4 4 519
    • 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.
    • jsevilla
      jsevilla last edited by

      How can I fix this issue when crawl diagnosis indicated that my www.mydomain.com is duplicate with www.mydomain.com/index.php? That suppose to be the same page and not duplicate, right?

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

        Hi,

        you need a cannonical-tag. Put this in the head of your index.php

        <link rel='<a class="attribute-value">canonical</a>' href='[http://www.yourdomain.com](view-source:http://www.energiehoch3.de/anbieter/strom/stromanbieter-preise.html)'/> 
        
        1 Reply Last reply Reply Quote 1
        • Dave_Whitty
          Dave_Whitty last edited by

          use the canonical tag, or do a 301 redirect. Canonical is the best option.

          1 Reply Last reply Reply Quote 1
          • BlueprintMarketing
            BlueprintMarketing last edited by

            Please Look here

            http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139394

            You can specify a canonical URL in two ways:

            • Add a rel="canonical" link to the  section of the non-canonical version of each HTML page.

              To specify a canonical link to the page http://www.example.com/product.php?item=swedish-fish, create a  element as follows:

              Copy this link into the  section of all non-canonical versions of the page, such as http://www.example.com/product.php?item=swedish-fish&sort=price.

              If you publish content on both http://www.example.com/product.php?item=swedish-fish and https://www.example.com/product.php?item=swedish-fish, you can specify the canonical version of the page. Create the element:

              Add this link to the  section of https://www.example.com/product.php?item=swedish-fish.

            • Indicate the canonical version of a URL by responding with the Link rel="canonical" HTTP header. Addingrel="canonical" to the head section of a page is useful for HTML content, but it can't be used for PDFs and other file types indexed by Google Web Search. In these cases you can indicate a canonical URL by responding with the Link rel="canonical" HTTP header, like this (note that to use this option, you'll need to be able to configure your server):```
              Link: <http: www.example.com="" downloads="" white-paper.pdf="">; rel="canonical"</http:>

              
              Google currently supports these link header elements for Web Search only.
            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • I analysis my domain (http://yourdigibuddy.com/) on moz domain analysis. But there is not data show and show message "No data here". What should I do?
              0
              1
              20

            • What is the best way to block http://www.site.com/members/...
              Taiger
              Taiger
              0
              3
              136

            • My home page URL http://seadwellers.com/ redirects to http://www.seadwellers.com/. Is this a problem?
              TheeDigital
              TheeDigital
              0
              3
              100

            • My report is showing duplicate titles.. for http://www.mysite.com/ & http://mysite.com
              Fridaythe15th
              Fridaythe15th
              0
              8
              163

            • Duplicate content http:// something .com and http:// something .com/
              BlueprintMarketing
              BlueprintMarketing
              0
              6
              771

            • Does a www.domain.com/# count as a link?
              RyanKent
              RyanKent
              0
              3
              508

            • Domain.com and www.domain.com
              ChristopherGlaeser
              ChristopherGlaeser
              0
              4
              828

            • 301 redirect (www.domain.com/index to www.domain.com)
              StalkerB
              StalkerB
              2
              12
              16.8k

            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