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. XML Sitemap & Bad Code

    XML Sitemap & Bad Code

    Intermediate & Advanced SEO
    4 3 98
    • 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.
    • alrockn
      alrockn last edited by

      I've been creating sitemaps with XML Sitemap Generator, and have been downloading them to edit on my pc.  The sitemaps work fine when viewing in a browser, but when I download and open in Dreamweaver, the urls don't work when I cut and paste them in the Firefox URL bar.  I notice the codes are different.  For example, an "&" is produced like this..."&".  Extra characters are inserted, producing the error.

      I was wondering if this is normal, because as I said, the map works fine when viewing online.

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

        Dreamweaver does funky stuff when you go from visual to code. Try opening the xml sitemap in notepad and copying/pasting from there and see if you get the same problem.

        But based on my experience with that site, you should be fine.

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

          It's probably normal within Dreamweaver, however a browser will see the & probably like a & so that won't be a problem for Google I'd guess if you want to submit your sitemap to the search engines.

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

            Thanks guys! Upon further research what's happening is "Entity Escaping", where symbols have to use a code...ie & = &, so it's all good.

            http://www.sitemaps.org/protocol.html

            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

            • Of the two examples of markup (microdata, schema) code below, which of the two is better designed for its purpose of Q&A, and what might be suggested to improve upon these lines of code (context: questions and answers within article content.
              RedFrog
              RedFrog
              0
              3
              1.8k

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

            • XML sitemaps questions
              Martijn_Scheijbeler
              Martijn_Scheijbeler
              0
              3
              167

            • Sitemap.xml
              DarinPirkey
              DarinPirkey
              0
              2
              196

            • XML Sitemap for classifieds
              razasaeed
              razasaeed
              0
              3
              1.2k

            • Video XML Sitemap
              MargaritaS
              MargaritaS
              0
              8
              447

            • Sitemap.xml Question
              Kotkov
              Kotkov
              0
              2
              337

            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