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. What is the best way to handle special characters in URLs

    What is the best way to handle special characters in URLs

    Intermediate & Advanced SEO
    3 3 2.0k
    • 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.
    • WebRiverGroup
      WebRiverGroup last edited by

      What is the best way to handle special characters? We have some URL's that use special characters and when a sitemap is generate using Xenu it changes the characters to something different. Do we need to have physically change the URL back to display the correct character?

      Example:

      URL:  http://petstreetmall.com/Feeding-&-Watering/361.html

      Sitmap Link:  http://www.petstreetmall.com/Feeding-%26-Watering/361.html

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

        Hi there,

        The special characters on your website URL is changed because URLs are sent over the Internet using the ASCII character-set. That's why the & is converted to %26.

        If you're trying to make your site rank, it is better to just simplify or shorten the URL. This is because search engines have problems indexing sites when the URLs contain special characters.

        The special characters below are known to be "search-engine-spider-stoppers":

        • ampersand (&)
        • dollar sign ($)
        • equals sign (=)
        • percent sign (%)
        • question mark (?)

        Hope that helps!

        1 Reply Last reply Reply Quote 1
        • CMC-SD
          CMC-SD last edited by

          As far as "search-engine-spider-stoppers" does this also go for "%" in on-page copy?

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • I'm updating content that is out of date. What is the best way to handle if I want to keep old content as well?
            jim_shook
            jim_shook
            0
            3
            66

          • We are switching our CMS local pages from a subdomain approach to a subfolder approach. What's the best way to handle this? Should we redirect every local subdomain page to its new subfolder page?
            Ray-pp
            Ray-pp
            0
            4
            123

          • How do I best handle a minor URL change?
            Andrea.G
            Andrea.G
            0
            3
            72

          • Best way to move from mixed case url to all lowercase?
            franchisesolutions
            franchisesolutions
            0
            4
            273

          • Best way to permanently remove URLs from the Google index?
            MoosaHemani
            MoosaHemani
            0
            4
            7.2k

          • Best way to handle traffic from links brought in from old domain.
            modulusman
            modulusman
            0
            3
            167

          • Don't want to lose page rank, what's the best way to restructure a url other than a 301 redirect?
            marig
            marig
            0
            6
            1.0k

          • Whats the best way to handle product microformats such as hproduct, goodrelations on ecommerce for Google?
            NitinRGoyal
            NitinRGoyal
            0
            6
            3.0k

          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