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.
What are partial urls and why this is causing a sitemap error?
- 
					
					
					
					
 Hi mozzers, I have a client that recorded 7 errors when generating Xml sitemap. One of the errors appear to be coming from partial urls and apparently I would need to exclude them from sitemap. What are they exactly and why would they cause an error in the sitemap. Thanks! 
- 
					
					
					
					
 Thanks Jeff! 
- 
					
					
					
					
 Taysir- Partial URLs are often formed when you have illegal characters in the URL (such as an & symbol or a space) or you have name-value pairs (?id=1&location=54). In some cases, the URLs that are generated in a site map may not be URL encoded properly, and then you get an error when submitting the site map. The reasons this can happen: - 
You have a static page on your site with a space in the file name (i.e. /about us.html) You could fix this with a %20 where the space is (i.e. /about%20us.html) 
- 
You have a content management system (i.e. WordPress) and the URL is based on the page name. Usually this can be fixed by changing the URL key and removing special characters and spaces. 
 Here's a Google forum discussion on the topic:
 http://productforums.google.com/forum/#!topic/webmasters/oa0dbGvdP7c
- 
It's possible that you are using a relative URL in your CSS file, and that's throwing an error. More details here: http://stackoverflow.com/questions/940451/using-relative-url-in-css-file-what-location-is-it-relative-to 
 Hope this helps! 
 -- Jeff
- 
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
- 
		
		
		
		
		
		Spotify XML Sitemap
 All, Working on an SEO work up for a Spotify site. Looks like they are using a sitemap that links to additional pages. A problem, none of the links are actually linked within the sitemap. This feels like a strong error. https://lubricitylabs.com/sitemap.xml Thoughts? Intermediate & Advanced SEO | | dmaher0
- 
		
		
		
		
		
		Inactive Products - Inactive URLs
 Hi, In our website www.viatrading.com we have many products that might be in stock or not depending on availability. Until now, when a product was not available anymore, we took this page down (and redirected to its product category page). And, only if the product was available again, we re-activated the URL - this might be days, months or even years later. To make this more SEO-friendly, we decided now that while a product is not available, instead or deactivating/redirecting the page, we will leave it online and just add a message saying "This product is currently not available". If we do this, we will automatically re-activate about 500 products pages at once. 1. Just to make sure, is it harmful for SEO to keep activating/deactivating URLs this way? 2. Since most of these pages have been deindexed for a long time due to being redirected - have they lost all their SEO juice? 3. How can we better activate these old 500 pages - is it ok activating them all at once? Thank you, Intermediate & Advanced SEO | | viatrading11
- 
		
		
		
		
		
		URL structure change and xml sitemap
 At the end of April we changed the url structure of most of our pages and 301 redirected the old pages to the new ones. The xml sitemaps were also updated at that point to reflect the new url structure. Since then Google has not indexed the new urls from our xml sitemaps and I am unsure of why. We are at 4 weeks since the change, so I would have thought they would have indexed the pages by now. Any ideas on what I should check to make sure pages are indexed? Intermediate & Advanced SEO | | ang0
- 
		
		
		
		
		
		Sitemap generator which only includes canonical urls
 Does anyone know of a 3rd party sitemap generator that will only include the canonical url's? Creating a sitemap with geo and sorting based parameters isn't the most ideal way to generate sitemaps. Please let me know if anyone has any ideas. Mind you we have hundreds of thousands of indexed url's and this can't be done with a simple text editor. Intermediate & Advanced SEO | | recbrands0
- 
		
		
		
		
		
		Image URLs - best practice
 Hi - I'm assuming image URL best practice follows same principles as non image URLs (not too many files and so on) - I notice alot of web devs putting photos in subdomains, so wonder if I'm missing something (I usually avoid subdomains like the plague)! Intermediate & Advanced SEO | | McTaggart1
- 
		
		
		
		
		
		Recovering from robots.txt error
 Hello, A client of mine is going through a bit of a crisis. A developer (at their end) added Disallow: / to the robots.txt file. Luckily the SEOMoz crawl ran a couple of days after this happened and alerted me to the error. The robots.txt file was quickly updated but the client has found the vast majority of their rankings have gone. It took a further 5 days for GWMT to file that the robots.txt file had been updated and since then we have "Fetched as Google" and "Submitted URL and linked pages" in GWMT. In GWMT it is still showing that that vast majority of pages are blocked in the "Blocked URLs" section, although the robots.txt file below it is now ok. I guess what I want to ask is: What else is there that we can do to recover these rankings quickly? What time scales can we expect for recovery? More importantly has anyone had any experience with this sort of situation and is full recovery normal? Thanks in advance! Intermediate & Advanced SEO | | RikkiD220
- 
		
		
		
		
		
		Where to link to HTML Sitemap?
 After searching this morning and finding unclear answers I decided to ask my SEOmoz friends a few questions. Should you have an HTML sitemap? If so, where should you link to the HTML sitemap from? Should you use a noindex, follow tag? Thank you Intermediate & Advanced SEO | | cprodigy290
- 
		
		
		
		
		
		Online Sitemap Generator
 I have a site that has around 5,000 pages now. Are there any recommened online free/paid tools to generate a sitemap for me? Intermediate & Advanced SEO | | rhysmaster0
 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				