I would like to know how I could change the title and description of my site when I google it
I tried adding these meta tags but it didn't work
this.meta.addTag({property: 'og:title', content: 'Floricultura em Curitiba
Esalflores'});
this.meta.addTag({property: 'og:description', content: 'Compre flores na melhor
floricultura de Curitiba, fazemos buquês de flores que surpreendem todos os amores,
presenteie quem você ama com as flores da Esalflores.'});
CodePudding user response:
You should use <title>
and <meta type="description">
for google search results.
CodePudding user response:
Note that OpenGraph metadata (used for social media embeds?) is not the same as regular webpage metadata.
Sites and pages
A site is a collection of pages within a domain. Search engines (like Google) index pages by crawling sites.
Page metadata
A page's metadata can be set with e.g. <title>
or <meta>
elements, usually found in the <head>
section.
In (e.g. Google's) SERPs (Search Engine Result Pages), your page's title is set with the <title>
element, its description with the <meta name="description">
void element.
Note that e.g. Google take the liberty of rewriting page titles and descriptions. Those should generally not be drastic changes however.
Indexing
Also note that search engines may index at their own leisure. Updates to metadata should be visible automatically after a couple of days, at worst in a month or two.
Alternatively you may be able to request indexing.