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. Technical SEO Issues
    4. Sitemap question

    Sitemap question

    Technical SEO Issues
    2 2 932
    • 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.
    • Aftermath_SEO
      Aftermath_SEO last edited by

      My sitemap includes www.example.com and www.example.com/index.html, they are both the same page, will this have any negative effects, or can I remove the www.example.com/index.html?

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

        Sounds like you need to sort out a canonical URL issue.

        In your .htaccess file, redirect /index.html to www.example.com. It's easy to 301 it but you may also have non-www and www issues. If you're not sure what I'm talking about, check out that link above and it might make it all clear.

        This should stop the XML sitemap generating the two pages.

        1 Reply Last reply Reply Quote 3
        • 1 / 1
        • First post
          Last post
        • Sitemaps:
          bridget.randolph
          bridget.randolph
          0
          5
          50

        • Sitemap: Linking horizontal pages on a sitemap that has a vertical hierarchy structure
          0
          2
          84

        • Sitemap question
          FCBM
          FCBM
          0
          2
          65

        • Sitemaps: Good Image And Video Sitemap Generators
          Whittie
          Whittie
          0
          4
          143

        • Question
          DigitalMarketingInstitute
          DigitalMarketingInstitute
          0
          5
          150

        • Sitemap Question - E-commerce - Magento
          iFong
          iFong
          0
          4
          195

        • Can you have a /sitemap.xml and /sitemap.html on the same site?
          ThompsonPaul
          ThompsonPaul
          0
          6
          2.2k

        • Summarize your question.Sitemap blocking or not blocking that is the question?
          Nobody1560986989723
          Nobody1560986989723
          0
          2
          353

        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