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. On-Page / Site Optimization
    4. URL contain special character

    URL contain special character

    On-Page / Site Optimization
    6 3 2.1k
    • 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.
    • JohnHuynh
      JohnHuynh last edited by

      Hello,

      I am using URLs which contain special character such as ', ". I found in the Google Webmaster Tool report errors related URL contain ' character. Google have indexed partial URL from beginning to ' character and cut off the rest of URL. For example: I submitted URL www.example.com/vietnam-visa-corp'-test-page.html, then google report error NOT FOUND for URL www.example.com/vietnam-visa-corp

      I don't know why and how to fix it? Please help!

      Thanks,

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

        Use the chart below to figure out which character to replace the current character

        Character Escape Code
        Ampersand & &
        Single Quote ' '
        Double Quote " "
        Greater Than > >
        Less Than < <

        https://support.google.com/webmasters/answer/35653?hl=en

        http://www.w3schools.com/html/

        http://wordpress.org/support/topic/problem-with-urls-containing-special-character

        http://meta.math.stackexchange.com/questions/520/links-urls-containing-special-characters-are-not-recognized-by-markdown

        I hope I have been of help,

        Thomas

        1 Reply Last reply Reply Quote 3
        • Everett
          Everett last edited by

          You may want to consider rewriting those URLs. The character escape codes shared by Thomas above may meet your needs, but I'd rewrite URLs like that. Assuming you are on a Linux server (as opposed to Windows, which would require  ISAPI ) you'll do this by editing the htaccess file. I'd advise getting a developer to consult with you on this, as rewriting URls often involves writing regular expressions that can be easy to goof up.

          Here's a good Moz article on the topic: http://moz.com/blog/down-and-dirty-write-your-own-url-rewrite

          And here's another great introductory resource: http://coding.smashingmagazine.com/2011/11/02/introduction-to-url-rewriting/

          If you want to try doing it yourself feel free to post your website, with the example URLs, so other members can help you with the rewrite code. I strongly suggest working with a developer on this though.

          BlueprintMarketing 1 Reply Last reply Reply Quote 4
          • BlueprintMarketing
            BlueprintMarketing @Everett last edited by

            I completely agree you should have a developer do the work for you. I can make some recommendations Web dev studios is fantastic and so is happy cog that are both on the expensive side however they deliver fantastic work. Another great developer that is not as expensive would be Greg http://www.gregreindel.com/

            I hope this helps sincerely,

            Thomas

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

              Thank you so much !

              Both advice are helpful. I agree with both of you, I googled and found some a useful article http://www.isoc.org/inet95/proceedings/PAPER/016/html/paper.html#S4

              and then I'd prefer to remove the special character from my URLs. I will ask a developer to do this.

              Thanks again!

              BlueprintMarketing 1 Reply Last reply Reply Quote 0
              • BlueprintMarketing
                BlueprintMarketing @JohnHuynh last edited by

                I am extremely happy I could be of help.

                Sincerely,

                Thomas

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Is it better to shorten my existing url to use only keyword after domain with a 301 redirect from existing url
                  mrkingsley
                  mrkingsley
                  2
                  12
                  96

                • Newbie SEO ?: Does my About page URL have to contain the word About?
                  christyr
                  christyr
                  0
                  7
                  91

                • Making Shopify URL's Simpler - Losing the words 'collection', 'product' and 'page' in a Shopify store URL. Any advice?
                  0
                  1
                  171

                • Google cuts meta title after 60 characters and meta description after 130 characters. Is this new?
                  benesmartin
                  benesmartin
                  0
                  2
                  95

                • Should URL contain primary keyword or primary + extended keyword?
                  PenaltyHammer
                  PenaltyHammer
                  0
                  3
                  109

                • Our urls for adwords are slightly different from current urls presented on site (weused htaccess to help create shorter urls). How important is it that the adwords url match the sitemap url for keywords on those pages?
                  LesleyPaone
                  LesleyPaone
                  0
                  2
                  134

                • Do special characters ñ ã ô ä ö ü í à affect search results?
                  AlanMosley
                  AlanMosley
                  0
                  2
                  703

                • Replacing "_" with "-" in url, results in new url?
                  loopyal
                  loopyal
                  0
                  8
                  21.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