modsfabio
modsfabio

Reputation: 1147

Website title on Google is wrong

I have this element within <head></head>:

<title>Bau- und Möbelschreiner Mustermann</title>

but on Google it's displayed as

und Möbelschreiner Mustermann: Bau

Additionally I added a description meta tag which is displayed correctly:

<meta name="description" content="Bau- und Möbelschreiner Mustermann | Bla Bla Bla" />

Am I doing something wrong here? The website is made with Angular 4 (and NOT rendered on server side).

Upvotes: 2

Views: 755

Answers (2)

Mathias F
Mathias F

Reputation: 15891

Check the encoding of your html file should be

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

and maybe set the language

At least here it works for a Bau- und Möbelschreiner

https://www.google.de/search?q=Bau-+und+M%C3%B6belschreiner&rlz=1C1GCEA_enDE767DE767&oq=Bau-+und+M%C3%B6belschreiner&aqs=chrome..69i57j0l5.719j0j7&sourceid=chrome&ie=UTF-8

Edit

If you are not sure how google sees your site then you might try their debugging tools on https://developers.google.com/search/docs/guides/debug

Upvotes: 6

Pawana
Pawana

Reputation: 296

Try to add an <html lang="de"> on top of the index.html (after the !doctype, but before the head) and please enter an <meta charset="utf-8"> as first tag in the <head> tag.

That is the only thing I can imagine, what could scramble up this stuff. I never experienced this kind of problem before

Upvotes: 1

Related Questions