Can I search Google for the href link in an anchor tag? - html

In other words, if there are pages out on the web with anchor tags saying, for example:
Interesting photo
Can I search for "this_page.html" and find pages that link to that page on my site? I seem to be able to search only for "Interesting photo", the shown text in the link.
Thanks for any insight.

You can make the following google search: www.mysite.com/this_page.html -site:www.mysite.com To find webpages there links to your website -site:www.mysite.com exclude your own website.

You can use a "backlink-checker"
for the main site, but it won't reference
individual pages (free versions anyway, paid version will have different feature sets).

Related

How do I add an embed to my website like this

This is an example when someone posts a link on discord it appears with this box and has some text on it. How do I add this to my website? Embed
You need to use open graph meta tag properties. See Facebook's developer guidelines for examples.
https://developers.facebook.com/docs/sharing/webmasters#markup

exclude content from link preview

I always wonder how pages like this works on link preview structure. specifically "Infobox Section"? (here) this section appears top of the content but always excluded from link previews.
How can we exclude one HTML section from link preview?
You can't exclude any content from being visible to another website; your DOM is always publicly visible. Rich Preview just shows the <meta> information for a website for use on sites like Google and Facebook. If you don't want information to show on Rich Preview, simply don't include the relevant information in your <meta> tags.

SEO Single Page Applictaion

i like singlepages with anchors but i have seen, that site:domain.com only show one result on google.
my sections are like
<div id="section">content...</div>
and my links are like:
section link
is there a way to build the singlepage a other way to get a result for each section? i dont like to use any frameworks...
I think the only way now is to pre-render the website on your server, using something like PhantomJS and serve the result to the Google crawler. Creating a sitemap can also help.
With no URL change and all the content in the HTML document - Google will only see one page.
Google indexes complete web pages. It will not separately list anchor links to the same page.
Either split your document into multiple pages or paginate content using different URLs.

Google Chrome Add Bookmark Image

Recently Google has added a new interface when users click the star icon in the address bar to add a website to their bookmarks.
The UI displays the page title as well as anything from the meta description element if present, but I was wondering if there's a way to set the image that's displayed, or whether this is just purely decorative on Chrome's part:
It seems to be some datas included in the head part of the pages.
You probably know that you can use meta tags to set some favicon, gps coordinates, and many other things.
Some new tags, the Opengraph meta tags, are now used to define some informations to best describe the content of the website you're browsing. For example, on facebook, when you share a link, these opengraph datas are used to create a small block which summarize and show a picture of the linked website.
So, to be clear and to speak about code, just try with this line in your head section:
<meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" />
Tried it while writing this post on a little static website I'm working on, seems to work prefect !
It's looks like Google collect all images on the webpage et allow you to choose which one you want for your bookmark.

Getting website displayed correctly in Google

I have a website that is now listed in Google's search directory, but it will only display 'Home' as title and will not display a descriptive text as it would for other results found. This is the search I've done to retrieve my website: here. It's the 8th result (for me, might be different for you guys), but it's the only one that has no description attached to itself and no title (only Home).
I assume the title has got to do with the tags in my html, though if you have a look at the website's source code, the title is not Home. So I'm not quite sure what to do here. Also, I'm using wordpress for this website so maybe there's something I should be doing on the server-side to fix this?
I always assumed google would extract directly from the page, so I have no idea what to do here.
I'm guessing the page title used to be 'home' and Google just hasn't caught up with the change yet. Google doesn't check every time it returns your page as a result (think about how that would work).
You could also update the meta description tag in your homepage so Google can present a proper description of your site to searchers.