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. Intermediate & Advanced SEO
    4. How do I fix my sitemap?

    How do I fix my sitemap?

    Intermediate & Advanced SEO
    7 5 1.4k
    • 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.
    • KempRugeLawGroup
      KempRugeLawGroup last edited by

      I have no idea how this happened, but our sitemap was http://www.kempruge.com/sitemap.xml, now it's http://www.kempruge.com/category/news/feed/ and google won't index it. It 404's. Obviously, I had to have done something wrong, but I don't know what and more importantly, I don't know how to find it in the backend of wordpress to change it. I tried a 301 redirect, but GWT still 404'd it. Any ideas? And, it's been like this for a few weeks, I've just neglected it, so I can't just reset the site without losing a lot of work.

      Thanks,

      Ruben

      1 Reply Last reply Reply Quote 0
      • Davenport-Tractor
        Davenport-Tractor last edited by

        Hi Guys,

        I personally believe in updating a sitemap often so that any changes made in your website are reflected in you Google sitemap which keeps them up to date, and you will see Google's spiders hitting your site for the new data.

        Use a sitemap generator like Screaming frog which may be downloaded for free here: http://www.screamingfrog.co.uk/seo-spider/

        Generate your new sitemap.xml file (which is something you could do on a regular basis), then upload it to a place of your choosing. Now in Google Webmaster Tools list your new sitemap.xml file and your off and running again. A very simple procedure.

        1 Reply Last reply Reply Quote -1
        • agua
          agua last edited by

          It looks like your sitemap.xml has been moved from that location or deleted. Did you create this manually or are you using a plugin to create the sitemap.xml? If so which one?

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

            The best way to deal with sitemaps on wordpress is to simply use a plugin. I can recommend the yoast seo plugin which has a built in sitemap feature or I have more recently been using the "google xml sitemap" plugin. Both will work fine. Both update automatically. So no need to update it manually. yoast creates a link to your sitemap link such (yourwebsite.com/sitemap-index.xml) and the other plugin creates one like this(yourwebsite.com/sitemap.xml). once your sitemap is created there they both offer a link to it and you can copy the link and submit it to GWT.

            I don't really know how your sitemap got messed up but i hope that the info above can make your life a little easier down the road. if you decide to use one of the plugins, you won't have to worry about that problem again.

            Good luck.

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

              It's a plugin, but it's not Yoast. We use All-in-one SEO, and then a separate one for the sitemap. However, that does help me. I could always just uninstall the sitemap plugin and redo it. That might work. Thank you all for helping me flush that out. I do appreciate it.

              Best,

              Ruben

              ThompsonPaul 1 Reply Last reply Reply Quote 0
              • ThompsonPaul
                ThompsonPaul @KempRugeLawGroup last edited by

                Before you dump the plugin, Ruben, check in the plugin's settings for whether the location has somehow inadvertently been changed.

                Under the Settings link in your WP Dashboard sidebar, there should be an entry for XML Sitemap (the plugin's settings)

                On the settings page, there should be a spot to define where the sitemap should be located. If there is, and that location has somehow defaulted to the category feed, you should be able to change the location designation back to the correct /sitemap.xml location. (In the XML Sitemap Generator plugin I suspect you're using, the settings are in the 5th section down titled Location of your sitemap file.)

                Does that work?

                Paul

                KempRugeLawGroup 1 Reply Last reply Reply Quote 0
                • KempRugeLawGroup
                  KempRugeLawGroup @ThompsonPaul last edited by

                  Hey Paul,

                  I'm attaching a screenshot of the "Location of your sitemap file." I think these settings - which I didn't change - are correct. But, if I need to change something here, please let me know.

                  Thanks for help! I really have no idea what I did to cause this problem, but I guess, as long as it gets fixed, that's all that matters.

                  Best,

                  Ruben

                  2aC2XPI.jpg

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • International XML Sitemaps - Standalone, or Integrate into Existing XML Sitemap?
                    Martijn_Scheijbeler
                    Martijn_Scheijbeler
                    0
                    2
                    138

                  • Sitemap: unique sitemap or different sitemaps by Country
                    ConclusionDigital
                    ConclusionDigital
                    0
                    4
                    2.3k

                  • International Sitemaps
                    blake.runyon
                    blake.runyon
                    0
                    3
                    160

                  • Xml sitemap Issue... Xml sitemap generator facilitating only few pages for indexing
                    Paddy_Moogan
                    Paddy_Moogan
                    0
                    6
                    153

                  • XML Sitemaps - how to create the perfect XML Sitemap
                    AlanMosley
                    AlanMosley
                    0
                    2
                    3.5k

                  • Sitemaps
                    0
                    1
                    126

                  • XML Sitemap index within a XML sitemaps index
                    Martijn_Scheijbeler
                    Martijn_Scheijbeler
                    0
                    2
                    1.1k

                  • Are there any disadvantages of switching from xml sitemaps to .asp sitemaps in GWT
                    robertrRSwalters
                    robertrRSwalters
                    0
                    3
                    947

                  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