Google indexing uses content instead of description [closed] - html

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a page with meta description, but for some reason Google indexing sources its value from the content of the page, and not even from the beginning of the text, but from a sentence in the middle of the paragraph. I've checked the html, but don't see any reason for it. Robots are not affecting this page either. What else could be the reason? Forgot to mention I'm using Umbraco 4.7

The snippet Google shows will generally be related to the query the user has entered. In some cases, this will match well with your meta description, but if there is content elsewhere in the page body that better matches the user's search, then Google will show that part of the page instead.
This article on Moz.com goes in to a bit more detail on how you can gently steer Google in the right direction towards your meta description, but ultimately it's not something you can control.
So, is there anything you can do to bend Google to your will and always use your META descriptions? Unfortunately, the short answer is "no". Like so much of SEO, though, there are some ways to nudge Google in the right direction

Related

Google’s featured snippets [duplicate]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
The community reviewed whether to reopen this question 2 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
Today I noticed that some searches on Google gave me links to results with apparent instructions to highlight text.
Google brought me to What is the maximum size of a zip file on Windows 10 Pro 64... at the following url:
https://superuser.com/questions/1305867/what-is-the-maximum-size-of-a-zip-file-on-windows-10-pro-64-bit#:~:text=4%20GB%20size%20is%20a,about%2016%20exabytes%20size%20limitation
I experimented a little bit further and this seems to be a feature of Google Chrome. It highlights text on the page if you append #:~:text=something to the URL. https://example.com/#:~:text=domain seems to work fine, but only on Chrome (Chrome Beta on the left, Firefox on the right).
The word text together with different characters is a bit hard to google, so I couldn't find anything on the subject.
For finding out more information about these kinds of "URL-hacks" I want to know:
What is this feature of Google Chrome called?
Scroll To Text Fragment
OK, with the help of a friend and at the same time via a comment from Berto99 I found it:
Apparently this is a feature called Scroll To Text Fragment. It is enabled by default since Chrome 80, but apparently not yet implemented in other browsers.
There are quite nice examples in the "W3C Community Group Draft Report". More good examples can be found on Wikipedia.
Highlighting the first appearance of a certain text
Just append #:~:text=<text> to the URL. The text search is not case-sensitive.
Example: https://example.com#:~:text=domain
Highlighting a whole section of text
You can use #:~:text=<first word>,<last word> to highlight a whole section of text.
Example: https://stackoverflow.com/questions/62161819/what-exactly-is-the-text-location-hash-in-an-url/62162093#:~:text=Apparently,Wikipedia
More advanced techniques
Prefixing and suffixing like the example suggested in the repository for the suggestion https://en.wikipedia.org/wiki/Cat#:~:text=Claws-,Like%20almost,the%20Felidae%2C,-cats texts as proposed don't seem to work for me (yet? I use Chrome 83).
You can style the look of the highlighted text with the CSS :target and you can opt your website out so this feature does not work with it anymore.

Searching gmail at google.com - strange things happen [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I've been looking this days to the code (using google chrome and its Inspect element feature) of several pages in order to see what they are doing (javascript, css, html, etc...) and I've seen something strange when searching for gmail at www.google.es (It's the same with www.google.com)
Just go to the link or search it yourselves and you'll see:
What is that line doing there? I already tried cleaning my monitor but it's not that ;)
I tried to look at the code in order to see if I could understand what is going on but I can't see anything strange:
Any ideas?
It is actually a single unicode character ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ which has an unicode entities of \u0e0f\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e
Basically the diacritical mark (commonly used for accented letter) was added to the letter 26 times.
It has nothing to do with google itself, that character was in the meta tag of one of the sites it crawled and thus shown in the search result.
The link Alex posted, provides detailed explanation on this.

How to find out who is using my code? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I suspect that someone has copy-pasted my website HTML and is using it as their own. How can I find out who it is? Is there any way to track them down?
I know that I can reverse-image search.
Is there a way to search the internet by webpage html fragments?
If they didn't rehost my resources, is there a way to check who is hotlinking my CSS or JS, if anyone? (what this person mentioned but didn't explain Hotlinking my Cascading Style Sheets )
You can check the request body fields, assuming that they're stealing your server's bandwith. You can also write a crawler that tries to match your html with other but It won't be reliable. Maybe you can use Google to find specific html blocks: http://en.wikipedia.org/wiki/Google_hacking

What is the appropriate html tag to prevent search engines from displaying a website's body in the search results? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have a website that's indexed on Google. However because my description is so short, the contents in the body are displayed after the ellipsis ... like so...
title for www.mysite.com
www.mysite.com
Brief description ... some body contents
Here's some sample html used in my website
<meta name="description" content="Brief description" />
<body>some body contents</body>
How can I make sure search engines only display the brief description inside the above tag, instead of displaying information in the body as well?
Such short descriptions would hardly fulfil Google's desire to provide informative/accurate snippets:
"Google will sometimes use the meta description of a page in search
results snippets, if we think it gives users a more accurate
description than would be possible purely from the on-page content." -
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=35624
SEOMoz has a much more expansive review on how to avoid Google's overwriting of them: http://www.seomoz.org/blog/why-wont-google-use-my-meta-description
So the short answer is that you can't "make" search engines display your "weak" description, but you can block them altogether as per #kabaros's comment...

Google auto-recognizing menus? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I wondered what would be the markup to achieve the following on google, somehow they recognize the menu items and show it as part of the search result but I couldn't find an easy way to do it.
attached screenshot:
Basically, you are asking how to cause "sitelinks" to appear for your website. Unfortunately as far as SEO is concerned, there isn't any special markup you can use to make these appear. They will be shown if Google's algorithm determines it is appropriate to show them, otherwise, they won't be.
For more information, see the following help article from the Google webmaster tools:
http://www.google.com/support/webmasters/bin/answer.py?answer=47334&topic=8523
There isn't anything special about the markup. Google needs to be able to crawl the site and be able to determine the site's structure based on how pages link to each other. In addition, you can tell Google how the site is structured by submitting a sitemap to them. This is a simple step you can do to encourage Google to build this structure in their search results. Be patient for the results to occur, however, as it can take a while.
A good site navigation tree (logical) and breadcrumbs on the internal page, may help google to check right your "menu". HTML5 too maybe a good idea to say to search engine "Hi. I'm the nav".