Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Yes or No for Ampersand "&" in SEO URLs
- 
					
					
					
					
 Hi Mozzers I would like to know how crawlers see the ampersand (& or &) in your URLs and if Google frown upon this or not? As far as I know they purely recognise this as "and" is this correct and is there any best practice for implementing this, as I know a lot of people complained before about & in links and that it is better to use it as &, but this is not on links, this is on URLs. Reason for this is that we looking to move onto an ASP.Net MVC framework (any suggestions for a different framework are welcome, we still just planning out future development) and in order to make use of the filter options we have on our site we need a parameter to indicate the difference on a routing level (routing sends to controller, controller sends to model, model sends to controller and controller sends to view < this is pattern of a request that comes in on the framework we will be using). I already have -'s and /'s in the URLs (which is for my SEO structuring) so these syntax can't be used for identifying filters the user clicks or uses to define their search as it will create a complete mess in the system. Now we looking at & to say; OK, when a user lands on /accommodation and they selects De Kelders (which is a destination in our area) the page will be /accommodation/de-kelders on this page they can define their search further to say they are looking for 5 star accommodation and it should be close to the beach, this is where the routing needs some guidance and we looking to have it as follow: /accommodation/de-kelders/5-star&close-to-the-beach. Now, does the "&" get identified by search engines on a URL level as "and" and does this cause any issues with crawling or indexation or would it be best to look at another solution? Thanks, Chris Captivate 
- 
					
					
					
					
 Yes James you're referencing HTML that's incorrect 
- 
					
					
					
					
 So basically what you're saying is that Web Design Group, which is a trusted resource on internet coding since 1999 is wrong. Here's more detail about entities: http://www.htmlhelp.com/reference/html40/entities/ The ampersand is the first character in an entity. Entities are well respected and widely used, at least as long as I've been coding web pages (since about 1997). 
- 
					
					
					
					
 The & character is also used in Google Analytics parameters. I believe that if there were any problems they wouldn't use. I use this character only to inform the start and finish parameters. A good example is the UTM parameters used by Google: http://www.domainname.com.br/?utm_source=yourdomain&utm_medium=algo&utm_campaign=yourcampaign&utm_content=something If you need to include special characters as the information is interesting escape the text before sending to the server. http://someserver.com/?param1=someinfo¶m2=another¶m3=some text using special characters such & % and more The url can be correctly corrected using the javascript escape()function to convert special characters like:var param3 = 'some text using special characters such & % and more'; 
 escape(param3);// will result some%20text%20using%20special%20characters%20such%20%26%20%25%20and%20more So your URL will be: ..And will be corrected. 
- 
					
					
					
					
 Never... As James correctly pointed out the & (or ampersand) is not a good idea. However his explanation is a little incorrect. You see URLs can only be sent over the Internet using the ASCII character-set. URLs often contain characters outside the ASCII set, therefore the URL has to be converted into a valid ASCII format. When using unsafe ASCII characters you have to replace them with a "%" followed by two hexadecimal digits. Therefore an "&" is %26 and not & which is the standard HTML character set. Personally I would look at a way to exclude the & and just have /5-star-hotel-near-beach/ for example 
- 
					
					
					
					
 Ampersand is used as a delimiter for an entity in standard HTML, so inserting it could lead to a validation error and failure to load the page. If you absolutely must use it in your URL, use the code: & which won't mess anything up. It's just text, so there's no reason for Google to penalize it. Under the concept of topic modeling, Google will recognize & as "and" but usually doesn't pay attention to connectors like that, so it's a non issue. 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		Has anyone ever tested to see if having an ads.txt file provided any SEO lift?
 I know that the ads.txt system is designed to prevent ad fraud and technically has nothing to do with search. That said, the presence of such a file would seem to be an indicator of overall site quality because it would show that a site owner wants to participate in a fraud-free system. Has anyone ever tested that? If so, they don't seem to have published their results. Maybe it's a secret weapon that some pros are using and not sharing? Web Design | | scodtt0
- 
		
		
		
		
		
		Migration from HTML to Wordpress - SEO Implications?
 I am in the process of having a wordpress site developed to replace my current HTML site. (I currently have my website in html and a blog in wordpress in a sub directory). I am doing this in phases to try and preserve as much of my good rankings as possible. My first phase is to replicate my site with the exact same pages, meta data, and site structure. I'm hoping that google will see this as not much change and not change my rankings for the worse. I also made it a goal that my site speed tests be at least equal to what they are now. We will have to 301 all of the URLs however since it will be going from /example.html to /example. I believe my blog will also need to move into the root directory as well, so I need to 301 all of those pages. I plan to wait a couple months for Phase 2. Phase 2 involves replacing old content (photo galleries), and introducing new content (virtual tours, videos, new pages, etc.) One of my reasons for moving to wordpress is to keep up with current trends a little easier since I have very little time. (I am owner, website maintainer, SEO - all on my own). My question here is three parts. 1. Do you think this strategy will work to preserve my current rankings? 2. Do you have any lessons learned or advice to share with me to make this as smooth as possible? 3. Do I really need to wait to add new content? I might get antsy and want to do it sooner! 🙂 Thank you in advance! Web Design | | CalicoKitty20000
- 
		
		
		
		
		
		Question Mark In URL??
 So I am looking at a site for a client, and I think I already have my answer, but wanted to check with you guys. First off the site is in FLASH and HTML. I told the client to dump the flash site, but she isn't willing right now. So the URLS are generated like this. Flash: http://www.mysite.com/#/page/7ca2/wedding-pricing/ HTML: http://www.mysite.com/?/page/7ca2/wedding-pricing/ checking the site in Google with a site:mysite, none of the interior pages are indexed at all. So that is telling me that Google is pretty much ignoring everything past the # or ?. Is that correct? My recommendation is to dump the flash site and redo the URLS in a SEo friendly format. Web Design | | netviper0
- 
		
		
		
		
		
		Do pull quotes affect SEO positively or negatively?
 I like the design element of a pull quote to ad interest and highlight an important point. If I use an exact quote from the page in a pull quote on that page, does that negatively affect SEO as duplicate content? Are there formatting or tagging methods that could help pull quotes to boost SEO? For clarity, by "pull quote" I mean a stylized bit of text that floats on a page in such a way that the body text wraps around it. It is actual text (not text embedded in a graphic) but it behaves like an image with text wrapping around it. Here's an example (in red on the right side): http://www.21ct.com/resources/news-room/21ct-announces-its-latest-us-patent-for-advancing-big-data-security/ Web Design | | kyle21ct0
- 
		
		
		
		
		
		White Text / Black Background & SEO Impact
 Does anyone know of any testing / studies with evidence that Google prefers dark text on a light background vs. light text on a dark background? I have a website that currently has light text on a black background, and really like the way it looks, but am concerned that the style may be hurting SEO. Moreover, redesigning something inverse with the same quality would be a large project and fairly costly, so I'd like to make sure the benefit will really be worth the cost before moving forward. Web Design | | Bromtec0
- 
		
		
		
		
		
		How to put 'Link to this article' HTML code at bottom of article & is it helpful?
 Hello, I was thinking about putting a box down at the bottom of my client's main articles that let's the reader easily copy the html code it takes to link to the article they're reading. Maybe I'd put it after the author bio. Do any of you do this? If so, what format do you use? It has to look nice of course. This is a non-techie industry. Thanks. Web Design | | BobGW0
- 
		
		
		
		
		
		What is the difference of HTML5 and web 2.0? What is web 2.0 and is this better for seo?
 A little bit confused with the new stuff. The web 2.0 webpages are so much better? What changes? Web Design | | Naghirniac0
- 
		
		
		
		
		
		Does using Wordpress Multisite have any negative SEO impact?
 I manage multiple websites in Wordpress and the idea of managing them all under one Wordpress install is very attractive. Are there any dangers SEO-wise to doing so? I know that all of the sites would live under the same IP address, but that's not something I'm really concerned with anyway because I don't do a lot of inter-linking between the sites. Thanks for your help! -El Juano Web Design | | JonathanFashbaugh0
 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				