Google search result has wrong description - meta-tags

my page has set description in meta like this
<meta name="description" content="My best website"/>
Until now this description was displayed with my page in google search result. Now there is totally different text from footer in my page.
Can I change it somehow to be like before?

resubmit your page (via sitemap etc) to google webmaster. Also check that content of your description tag appears on your page, Google may perhaps think that your description tag is irrelivent to your actual page content text and therefore will ignore it and just take stuff from the page itself.

Related

Default Sitelogo (image) for googlebot?

Hy
How i can add a default image for my site to display in the google search results when i type the name of the site to search for?
Currently every few weeks a different image/picture is displaying, current one picture from my news.
Google Search result =
https://www.may_site.com [ logo ]
Currently I added a logo to my first link at the top of the page..
<img src="/images/logo.png" width="70" height="70" alt="Sitename Logo">
Sometimes no picture is visible :/
Google reads meta tags in your page <head></head> to understand what you want to show in search results.
As far as I know there is not an official "logo" or "image" tag that Google support, but is smart enough to understand that "og:image" is the page image.
<head>
<meta name="og:image" content="http://ia.media-imdb.com/rock.jpg">
</head>
You can read more here: https://developers.google.com/search/docs/advanced/crawling/special-tags
And you can find a comprehensive list of meta here
https://gist.github.com/lancejpollard/1978404
Google supports defining your logo in structured data. Here is their documentation on it:
https://developers.google.com/search/docs/advanced/structured-data/logo
However, I think you are talking more about a general image related to a page.
Using the og:image meta tag mentioned by #supermod can be a hint. Google also understands images in certain structured data types like recipes, products, articles etc. Their gallery shows what structured data can cause rich snippets like an image:
https://developers.google.com/search/docs/advanced/structured-data/search-gallery
But it is not necessary to provide metadata or structured data to get images in the search results. Sometimes Google just picks one from the page.

MODX - Template Variable for Particular Page

I have one MainTemplate shared with pages like : home,about-us,contact-us
I also have template variable to control all pages' : meta description, og title, og image, og desc
I created a Template Variable Home Page Banner link to my MainTemplate to upload images just for Home Page, but when i click other resources, this Home Page Banner Template Variable will show up also.
Any method that makes Home Page Banner TV shows up on home resources only?
Is it duplicate another template from MainTemplate named as HomeTemplate for Home Page Banner TV only?
Personally I felt this way is abit dangerous for future maintanance.
May I know any more method to achieve this?
Tq.
For "Home Page Banner" it is better to use http://modx.com/extras/package/bannery (docs - https://rtfm.modx.com/extras/revo/bannery)
I think it will be more complicated than a home-page-banner in main-template, but... If you really want to have the same html on multiple templates, simply create common chunk with your html, e.g.:
<html>
<head>
<title>[[++site_name]] - [[*pagetitle]]</title>
<base href="[[++site_url]]" />
</head>
<body>
[[*content]]
</body>
</html>
and in your templates (home-template and main-template) instead of html use only this:
[[$your-chunk-name]]
Then you can add a home-page-banner only to the home-template.
Sounds like you have the Template Variable set to show up in both your Main Template and your Home Template. Your TV should just be set to show up on the Homepage Template which you set under Your TV > Template Access and then untick the Main Template checkbox.
As mwl says - is long as you keep your templates simple (i.e. you use Chunks and Snippets wisely) having lots of templates isn't a bad thing on a MODX site.

How find and change the name of a website (not url & domain name)

I woud like to know which information refers to the name of a website on Google Searchs (or any other Search's motors)
In exemple an url could be :
my-creations.com
and the google name (clic link):
"My Super Creations"
Is this name (My super creation) whritten in html -> meta ? how can i change it ? If i change it, my SEO result will be lower ?
Thanks for your responses and help :)
And excuse my english
<div id="thanks"></div>
Search engines usually use the value of the title element:
<head>
<title>Page and site name</title>
</head>
Some search engines, for example Google, might display something else when they think it’s more relevant.
The site web i'm working for use Adobe Muse (yep i know...). So the html is generated and here is the title :
<title>home</title>
And as you can imagine "home" is not the name of the website as result on google.
So.... anyone knows if Adobe Muse put another information anywhere ?

Search in view results causes xpage to be blank

I have a view panel in which I have the formula:
isParent = "1" set for Search In View Results.
This cause the whole xpgae to show as blank page, I have lots of other things on the page , in addition to the view panel, but nothing is displayed
What is being shown for the source of the page is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type></HEAD>
<BODY></BODY></HTML>
ate
I am not sure where the "ate" is coming from. When page is displayed normaly, there is "corporate" displayed on the page, prehaps it is form there.
I am unable to find documentation on this property so I am unsure if I am even using it correctly but you would still think some of the page would display or at least an error.
What I will probably do is to create another view with isParent = "1" in the select frumala but it would still be nice to know why this is not working.
As this search uses the full text search functionality you have to search for
[isParent] = "1"
instead. I assume you are looking for all documents which have "1" in field "isParent".
It throws an error "Query is not understandable" if you use your original search string. I don't know why it doesn't show the error in your case. Do you use a special XPages runtime error page? It would throw an error too if database is not full text indexed.
Looks like it is:
field isParent contains 1

Bypassing the Google Image Search

i've been searching for script that can bypass image search in google.
For example...If a image in my site is indexed by google image search then when the google user click on that image a page opens where the image is displayed and my site is shown at the backgrund.
They are many site that can overcome this google indexing and automatically redirect it to the webpage where the image was present.
I'm getting 600 hits a day just by google image results,but i want the users to get images by looking at my site,instead of showing on a popup sort of
I may be over-simplifying, but isn't it a matter of checking if your site is the "top frame"?
if (self.location != top.location){
top.location = self.location;
}
(or some facsimile)
Unless they're embedding custom content within your site's page, in which case you can probably run a script to check for a "known google DOM element" and, when present, do your own hijacking/redirecting.
If you want to force your website to properly load for visitors that come from Google Images, you just need to employ a frame-killing script like the one below.
<script type="text/javascript">
if (top != self) top.location.replace(location);
</script>

Resources