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
-
Toxic URL???
Hi I have a URL that produced page 1, number 1 to 3 for most of our industries top phrases. Then we received a google penalty, (as did several of our competitors on the same day). We were effectively wiped from google. After much disavowing we were allowed back into the search results, this took about 3 months. I have employed the services of a top London SEO company for over a year now and have seen no significant improvement. I believe they are doing there best, however there results are VERY poor. According to the various tools, (searchmetrics, woorank, semrush) to name but a few, our site scores very well, yet we are not getting the results. Page one seems to be full of totally new websites, most of which I have never heard of, and have appeared from nowhere. Should I scrap our URL and put up a completely new one, and put a redirect from the original one? This would be a biggy since our url has been around for 20 years. Thanks for reading. Andy
On-Page Optimization | | First-VehicleLeasing0 -
Content with changing URL and duplicate content
Hi everyone, I have a question regarding content (user reviews), that are changing URL all the time. We get a lot of reviews from users that have been dining at our partner restaurants, which get posted on our site under (new) “reviews”. My worry however is that the URL for these reviews is changing all the time. The reason for this is that they start on page 1, and then get pushed down to page 2, and so on when new reviews come in. http://www.r2n.dk/restaurant-anmeldelser I’m guessing that this could cause for serious indexing problems? I can see in google that some reviews are indexed multiple times with different URLs, and some are not indexed at all. We further more have the specific reviews under each restaurant profile. I’m not sure if this could be considered duplicate content? Maybe we should tell google not to index the “new reviews section” by using robots.txt. We don’t get much traffic on these URLs anyways, and all reviews are still under each restaurant-profile. Or maybe the canonical tag can be used? I look forward to your input. Cheers, Christian
On-Page Optimization | | Christian_T2 -
Page Titles For Local - Help on URL Structure
Trying to figure out the best way to construct localized urls for the dental website. For example, If I have the URL:
On-Page Optimization | | Czubmeister
http://www.kooskidental.com/services/cosmetic-dentistry/
and If I want to make it local to the city I would use: http://www.kooskidental.com/services/richardson-tx-cosmetic-dentistry/ But what happens is that I have other options off the menu like: http://www.koooskidental.com/services/richardson-tx-cosmetic-dentistry/teeth-whitening/ But if I am trying to rank for richardson tx teeth whitening, I would have to do http://www.koooskidental.com/services/richardson-tx-cosmetic-dentistry/richardson-tx-teeth-whitening/ But that's pretty long and ugly and I don't think I need richardson-tx in their twice. If I am trying to rank for richardson tx cosmetic dentistry and richardson tx teeth whitening, what would be the best structure for the url's?0 -
2 Question about URL structure
Hello guys 1 - I have a question about the best structure for URLs from the point of view of SEO: Is it OK to use the URL as mywebsite.com.br/long-tail-article Or is better this mywebsite.com.br/category/long-tail-article 2 - When part of my keyword is already in my "category", for example: mywebsite.com.br/digital-marketing/digital-marketing-is-good I leave it as it is, or in the following way: mywebsite.com.br/digital-marketing-is-good NOTE: Do not take into account that this URL would be different from other URLs in this category
On-Page Optimization | | seomasterbrasil0 -
Does Google follow link path or url path when it comes to passing link juice
I noticed something with one of my sites and now I am thinking I made a boo boo (I think) here is what I have On my homepage I have 5 links Link1
On-Page Optimization | | cbielich
Link2
Link3
Link4
Link5 Links 1 - 4 go to a page and stops there. So my URL structure is www.mydomain.com/Link1
www.mydomain.com/Link2
www.mydomain.com/Link3
www.mydomain.com/Link4 So naturally my link juice passes down to these links evenly. Link5 also goes to another page, but on that page I have more links that go down further. www.mydomain.com/Link5 -> more links On page Link5 I have links that go to more pages, BUT my URL structure for these pages go like this Lets say on Link5 page I have another link that goes to AnotherLink1, AnotherLink2 and AnotherLink3 When you click on those links it takes you to those pages just fine, BUT my URL structure is like this www.mydomain.com/AnotherLink1
www.mydomain.com/AnotherLink2
www.mydomain.com/AnotherLink3 Basically I put all the "AnotherLink1-3" in the root directory as well. My question is concerning how Google passes the link Juice from my pages and if it is passing based on the path of the links and how they point to those pages, or do they pass link juice based on the URL structure. So since "AnotherLink1-3" is located in the root directory am I dividing my link juice from my home page to all the links as well based on the URL structure. For instance www.mydomain.com/Link1
www.mydomain.com/Link2
www.mydomain.com/Link3
www.mydomain.com/Link4
www.mydomain.com/Link5
www.mydomain.com/AnotherLink1
www.mydomain.com/AnotherLink2
www.mydomain.com/AnotherLink3 Do I need to change my path for Link5 page to www.mydomain.com/Link5/AnotherLink1
www.mydomain.com/Link5/AnotherLink2
www.mydomain.com/Link5/AnotherLink3 ?0 -
If you were working on a wine site would you include the wine year in the URL?
I've come across a case where I'm asking myself what the best direction would be to go and while there is no right direction I would like to here some feedback from others. I'm working with some great content pages all about wine. As you probably know the difference between a 07 wine and a 95 is vastly different and up to this point I'm using the full year in the url much like this: grapesinyourtoesexample.com/2007-cellar-pod-viognier-adelaide-hills/. What I'm worried about is my use of the year in the URL. I feel it's very important for it to be used in the page title and on page but I'm concerned that it might be setting me back with my use of it in the url. My concern is that search engines might be interpretting it as a datestamp rather than as a informational piece of data describing the asset. Looking at my competitors, my content is one of the only sites using the year and in most searches for various wines my content is in the second half of the SERPs. If you were creating this content would you use the year? If you were working with current content would you drop the year across all of the site and implement to necessary redirects? Just to be clear this is a client related project so my use of "my site|my content" refers to the client's content.
On-Page Optimization | | DotCar0 -
Seeking URL Advice
Hey Moz Community, I'm looking for some URL structure advice for a new directory of a website. We're trying to rank for the term 'internships abroad in <country>'</country> We have roughly 100 pages targeting specific countries. Right now the URL structure is www.gooverseas.com/internships-abroad/china, but some of my colleagues believe this structure would be better: www.gooverseas.com/internships-abroad/intern-in-china. I personally prefer the shorter structure, but we couldn't come to any agreement so we thought we'd pose the question to the community. Any thoughts? Thanks!
On-Page Optimization | | dunklea0 -
Re-write homepage url for non EMD for SEO
Hi, A lot of talk about EMD's lately not just here but all over SEO and affiliate forums. I've dabbled in emd's but have decided to go against the grain and use a non emd. I think I can optimise hard enough to rank and at the same time build a brand, which is where most emd's fail. But my question is this: If you are targeting lets say the term 'running trainers' and the domain is runyoursocksoff.com would it be more beneficial to rewrite the root domain to this: runyoursocksoff.com/running-trainers/ It does look messy to me and more then likely I would not use this but I have seen it a few times and was wondering if its a work around for non emd's.
On-Page Optimization | | activitysuper0