URL contain special character
-
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,
-
I am extremely happy I could be of help.
Sincerely,
Thomas
-
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!
-
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
-
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.
-
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
I hope I have been of help,
Thomas
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Create 100% new content in existing page/URL?
We have about 30 pages of content that we are hiding from the website as these articles had some issues. If these pages ranked well, would you recommend that the new content is written within these pages? Meaning, we would replace the content that's in those pages with the same topic and keywords. Or do you think it's best to start a new page instead?
On-Page Optimization | | kvillalobos0 -
URL, Breadcrumb/Site Hierarchy Display, User (and Bot) Expectations
TL;DR: Do parts of URLs that are used throughout the web quite consistently have any influence on robots (or users)? Are there any studies? What would you use for pages that are something between a tag-page and a wiki-like article? Long version: On a site with a lot of content, I decided to go for tags to present articles on that topic together. My first thought was to simply list those under the URL /tag/{Tag_Name}. Short. Simple. Grabs the core meaning - on this page you'll find stuff about the tag. But: those tag-pages will be more than just lists of the tagged pages (let's say they are articles on various topics and products with certain attributes and the same tag can apply to a product and an article). The tag pages themselves will often talk a lot about the use of said tag - extensively, without blabbering. It is aimed at being a landing page and hub for the tag/keyword. Having this in mind, I pondered using /wiki/. It does fit in some respects, but it really is not a wiki. /info/, /lexicon/, /knowledge/ and other ideas came to mind but the more I thought the weirder I did find most ideas. What I am now wondering: Do these parts of URLs (/tag/, or /product/, or /wiki/) that are not really keywords in most cases have any influence on search engines? They are used quite consistently across the web and therefore could be used as signals. I suspect, though, that they might have more influence on shaping user expectation. (If I see /wiki/ in an URL or site hierarchy display (breadcrumb), I expect ... well, a wiki-style page; if I see /tag/ I expect a collection of stuff with that tag.) What would you chose if it is not quite a tag, nor quite a wiki but something in-between? Or do you think it does not matter at all? (Breadcrumbs will be used and google has used them for display in just about all SERPs.) Are there perchance any studies concerning these parts of URLS? Regards Nico
On-Page Optimization | | netzkern_AG0 -
Duplicate home page URL on crawl test
Hi i just recently made a crawl test but before doing that i made sure that i have no more duplicates on my site i am using joomla and as of now i only have 11 links on my site but when my crawl test is done i saw duplicate url of my homepage the duplicate url has a trailing backslash so basically i have all the 11 links + 1 duplicate URL http://mangthomas.com http://mangthomas.com/ can you guys give advise how i can remove the duplicate i dont even know which one to retain. THANKS A LOT, cris
On-Page Optimization | | crisbasma0 -
URL Structure Suggestion
Hi
On-Page Optimization | | sandeep.clickdesk
My site url: http://goo.gl/AiOgu1
We are working on URL structure of our website. I have one query about URL structure.
Which one is good URL structure according to user and SEO prospective.
The targeted keyword for the particular page is "wordpress live chat". Is it worthful to rewrite the present url "https://www.abc.com/wordpress" to "https://www.abc.com/wordpress-live-chat" Please suggest.0 -
Canonical URL Category and Tags
Hello, I would like to know that I want to use both category and tags in my blog StylishMahi. If I index both category and tags, should I use canonical URL tag to pass referring to main category. As I want more my categories in SERP results ranking higher? I have also attached a picture. Can someone please confirm? Photo by Moz ZigdWMx
On-Page Optimization | | PratapSingh0 -
Mixing hyphens and underscores in a url
Hello. I am working on a site that was built with underscores in the urls, but only in the page names, not in the subdirectories. All the subdirectories have one-word names. So a typical url is "example.com/sub1/sub2/page_name." We would like to change the name of one of the subdirectories to a name that would be very useful for SEO, but this new name is a hyphenated word, let's call it "new-sub." If we changed "sub2" to "new-sub" then our url would have a mix of underscores and hyphens: example.com/sub1/new-sub/page_name. But if I used "new_sub" instead, google would read the words as connected with an underscore, instead of reading the subdirectory as a hyphenated word, which would be less useful for SEO. It seems like it might be a problem to have a hyphen in a subdirectory and underscores in the page names. But I want the SEO value of the hyphenated word. Any recommendations? Thank you!
On-Page Optimization | | nyc-seo0 -
How to avoid duplicates when URL and content changes during the course of a day?
I'm currently facing the following challenge: Newspaper industry: the content and title of some (featured) articles change a couple of times during a normal day. The CMS is setup so each article can be found by only using it's specific id (eg. domain.tld/123). A normal article looks like this: domain.tld/some-path/sub-path/i-am-the-topic,123 Now the article gets changed and with it the topic. It looks like this now: domain.tld/some-path/sub-path/i-am-the-new-topic,123 I can not tell the writers that they can not change the article as they wish any more. I could implement canonicals pointing to the short url (domain.tld/123). I could try to change the URL's to something like domain.tld/some-path/sub-path/123. Then we would lose keywords in URL (which afaik is not that important as a ranking factor; rather as a CTR factor). If anyone has experiences sharing them would be greatly appreciated. Thanks, Jan
On-Page Optimization | | jmueller0 -
Redirecting URLS on windows
Could anyone help out here please. A client of ours have reveloped their website from HTML to ASP (helpful!). They have 60 odd pages indexed in Google with the .html extension. We need to do a redirect on these pages so that all link juice is passed to the new pages. What would be the best way to do this please?
On-Page Optimization | | Grumpy_Carl0