问题原文
原帖链接 · Sameer Zahid · CC BY-SA 4.0
I'm creating a translation web service, and wondering which approach will be better in terms of SEO. The app will allow users to translate between English, Spanish and French, using two select fields on the page (For "Source" and "Target" language options). Here are the two options that I see:
Option 1
Have one UCR and Page title for all translation options, like so:
- url:
example.com/translate. Page title: "Translate between English, Spanish and French".
Option 2
Have the page title and the select fields change based on the urls. Examples of what I mean:
- url:
example.com/translate?english-to-french. Page title: "Translate English to French". - url:
example.com/translate?spanish-to-english. Page title: "Translate Spanish to English".
The "selected" option in the select fields will also change based on the URL parameters, with a total of 6 variants of the same page, and then I can let Google fetch these pages as different pages.
Which one will be better in terms of SEO?
PS: I plan on having several different languages, but have only given 3 for the sake of brevity.
已采纳解答
原帖链接 · Rounin · CC BY-SA 4.0
It's definitely a good idea to ensure that each unique URL points to a document with:
- a unique
<title> - a unique
<meta name="description"> - a unique set of
<meta name="keywords">(ignore the naysayers who encourage you to ignore this: optimising for Google isn't the beginning and the end of optimising for search, indexing and categorisation) - a unique
<h1>top level heading
That said, these URLs:
mysite.com/translate?english-to-frenchmysite.com/translate?spanish-to-english
aren't unique URLs. They're the same URL with different query-strings.
I'd suggest using something like this instead:
mysite.com/translate/english/french/mysite.com/translate/spanish/english/
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
