Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have 2 questions about url for google news sitemap.

  1. Is it good that I use= url for sitemap witch like http://www.mydomain.com/news?query=football&title=Poland-coach-Smuda-names-Euro-2012-squad, the page is a search results include the article Poland coach Smuda names Euro 2012 squad and 10 search result with keyword football? Or I should do an independent page only one article and url like http://www.mydomain.com/news-article/Poland-coach-Smuda-names-Euro-2012-squad?

  2. Could I do some url like http://www.mydomain.com/news#!Poland-coach-Smuda-names-Euro-2012-squad which url rule under AJAX hash crawling from google for the sitemap?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

The documented requirements for the loc element are:

This URL must begin with the protocol (such as http) and end with a trailing slash, if your web server requires it. This value must be less than 2,048 characters.

As long as your URLs resolve, they should be fine. Neither is "good" or bad; the issue is whether they're valid. Yes to both.

Note this is completely independent of any opinions on SEO-type details like whether query or Ajax-style URLs are better, etc., which fall outside of your actual question.

share|improve this answer
    
thanx, +1, waiting for more suggestion. –  Giberno May 27 '12 at 19:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.