: Personal page - name with foreign accent I am writing HTML code for my personal webpage. I used GitHub page to host it. I am French and my firstname Céline contains accents. Assume my surname
I am writing HTML code for my personal webpage.
I used GitHub page to host it. I am French and my firstname Céline contains accents. Assume my surname is Foo.
There is two kind of request from the people who want to see my page:
either they will look for my firstname without accent that is "Celine Foo homepage"
or they will type "Céline Foo page personnelle"
How can I handle these requests so that they point on my personal page?
Here is my sample of index.html:
<!DOCTYPE html>
<html>
<font color="black" face="Lucida console" size=+1>
<head>
<meta name="author" content="Ceacuteline Foo">
<meta name="description" content="Celine Foo homepage" />
<meta name="Keywords" content="Céline Foo">
<meta http-equiv="Pragma" content="no-cache">
<title>Homepage of Celine Foo</title>
</head>
I know that the title of my HTML page and the meta tags are important, I would like some enlightments on these points to solve my problem.
More posts by @Miguel251
2 Comments
Sorted by latest first Latest Oldest Best
The right way to handle this situation is to have two index.html files, one for each language.
Then you will need to fill the title html tag and meta description tag in English and in the other page the French version.
After that you should specify that each page has the same content but in a different language using the special hreflang in both pages something like:
<link rel="alternate" hreflang="en" href="http://mywebsite.com/" />
<link rel="alternate" hreflang="fr" href="http://mywebsitr.com/fr" />
Then when people google Céline, Google will decide the best page version to show up regarding user context, its language or google version used, etc.
Just use the correct version in your page and the search engines (ie. Google) will figure it out.
Part of the "search" algorithm is to understand word alternatives and relationships and to return what the user excepts to see. You can see this in Google search. For example, search for Celine (no accent) and most of the results are for Céline (even when using a quoted "verbatim" search; which is a bit surprising?). In fact, just using the browser's in-page search facility "combines" these two words: search for Celine and both "Céline" and "Celine" are highlighted.
Aside: the keywords meta tag does not help with indexing in Google.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.