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. Sitemaps - Format Issue

    Sitemaps - Format Issue

    Technical SEO Issues
    3 3 776
    • 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.
    • ShaMenz
      ShaMenz last edited by

      Hi,

      I have a little issue with a client site whose programmer seems kind of unwilling to change things that he has been doing a long time.

      So, he has had this dynamic site set up for a few years and active in google webmaster tools and others, but is not happy with the traffic it is getting.

      When I looked at webmaster tools I see that he has a sitemap registered, but it is /sitemap.php

      When I said that we should be offering the SE's /sitemap.xml his response is that sitemap.php checks the site every day and generates /sitemap.xml, but there is no /sitemap.xml registered in webmaster tools.

      My gut is telling me that he should just register /sitemap.xml in webmaster tools, but it is a hard sell 🙂

      Anyone have any definitive experience of people doing this before and whether it is an issue?

      My feeling is that it doesn't need to be rocket science...

      Any input appreciated,

      Sha

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

        I haven't seen a sitemap.php in a long time, Sha. Certainly Google could  read it if they want, but whether they will or not is the question. I would be inclined to doubt it.

        If he says that it's generating a sitemap.xml, but none is present on WMT, then I would respond that one of two things is happening:

        1. It isn't generating the sitemap in an xml format at all, but only in php, or

        2. For some reason, the xml version is either not transmitted, or not received.

        The only other possibility that comes to mind is that perhaps the conversion from php to xml is not tagged in a fashion to be recognized as an xml file, and WMT is detecting it as php and assigning it that status accordingly. I suppose that could happen, particularly if he is using an outdated plugin or if of his own coding, the conversion is faulty.

        I'd be interested in hearing what you ultimately learn on this.

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

          I have a sitemap.php on my sites. The file contains the php code which generates my xml sitemap. It is perfectly standard and common practice.

          The question for your programmer is, where is the output xml file located? A sitemap program will output the file to the same location each time it is updated. He should be able to provide you a link to the file.

          I would advise the URL to be placed somewhere like mydomain.com/sitemap directory. If a deeper directory is preferred, then add the location to robots.txt. Either way it cannot hurt to update the sitemap in Google WMT. With that said, it is not necessary to do so as long as you can confirm Google is getting the information.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Sitemap
            ThompsonPaul
            ThompsonPaul
            0
            4
            90

          • Sitemap issue? 404's & 500's are regenerating?
            jeff-rackaid.com
            jeff-rackaid.com
            0
            5
            263

          • Sitemap issue - Tons of 404 errors
            JanetJ
            JanetJ
            0
            7
            140

          • WordPress Link Issue..... URL Issue.... Please Guide....!
            evolvingSEO
            evolvingSEO
            0
            3
            234

          • XML Sitemap Issue or not?
            Tay1986
            Tay1986
            0
            6
            368

          • How to generate a visual sitemap using sitemap.xml
            Churchill1
            Churchill1
            0
            3
            8.4k

          • Any issues with lots of pages issuing 301 redirects?
            RyanKent
            RyanKent
            0
            2
            600

          • Crawl issues/ .htacess issues
            StalkerB
            StalkerB
            0
            6
            1.1k

          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