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 good idea to use special characters in Meta Tags?
                  Martijn_Scheijbeler
                  Martijn_Scheijbeler
                  0
                  2
                  43

                • Duplicate URL errors when URL's are unique
                  DirkC
                  DirkC
                  0
                  2
                  96

                • URL structure of the page: Does this one need to contain the most important keyword for better SEO?
                  kirupa
                  kirupa
                  0
                  3
                  187

                • Short URL's vs Optimised URL's
                  MozAddict
                  MozAddict
                  0
                  3
                  68

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

                • Recommendation: Add a canonical URL tag referencing this URL to the header of the page.
                  ThompsonPaul
                  ThompsonPaul
                  0
                  7
                  1.5k

                • What's better now? A super-short URL structure or a slightly longer, more descriptive URL structure?
                  seowebjunction
                  seowebjunction
                  0
                  4
                  1.2k

                • Keywords in URL:
                  pepsimoz
                  pepsimoz
                  0
                  6
                  970

                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