Search Verticals when defined in Office 365 Administration Portal not showing up in SharePoint Online sites

I created yesterday Search Vertical and Result Type in Office 365 admin portal. It is a custom connector to get external data in SharePoint Search build using Graph API. It is more than 24 hours and still the vertical is not showing up when I am searching in SharePoint Search Textbox in Modern sites. When I am using graph search API then it is able to get the result.

Custom Connector Status
enter image description here

Search ResultType:
enter image description here

Custom Vertical:
enter image description here

Can someone help to point me to correct direction as to why I am not able to see verticals in SharePoint online while searching.

search – Redirect template based on permalink rather than $wp_query

I’m trying to separate out different templates which utilise WordPress’ search (s query var) along with different post types.

Situation 1: Default WordPress search page (search.php). Example: example.com?s=test

Situation 2: Post type archive (archive-{$post_type}.php), with search and taxonomy query var filtering ability. Example: example.com/questions?s=test&category=wordpress

Situation 2 has a few different final templates based on what post type is being queried.

So far I’ve managed to get the above to work with a function similar to this:

function wpse_redirect_search_page_post_types( $template ) {
    global $wp_query;

    if ( $wp_query->is_search ) {
        if ( get_query_var( 'post_type' ) === 'question' ) {
            return locate_template( 'archive-question.php' );
        }
    }
    return $template;
}
add_filter( 'template_include', 'wpse_redirect_search_page_post_types' );

However I encountered an issue when attempting to filter the search results page with different post types. I’ve got a bunch of checkboxes to filter what post types to show on the search results page, and the moment I’ve got only one post type (eg example.com?s=test&post_type=question) it sets the template to archive-question.php.

In terms of the $wp_query, they’re identical (barring query hash differences) for example.com?s=test&post_type=question and example.com/question?s=test&post_type=question.

What’s the best way to do a check for whether I’m intending to show the search or archive template? The only other way I know how to do this is access the url through $_SERVER('REQUEST_URI'), but I was hoping there was a more WordPress-centric way of checking what template it intends to use.

Final use-case goals:

  • example.com/questions?s=test (archive)
  • example.com/questions (archive)
  • example.com/?s=test (search)
  • example.com/?s=test&post_type=question (search)
  • example.com/?s=test&post_type=question,answer (search)

search engine indexing – Ahrefs reports that a page a few weeks old is ranking for few organic keywords

We recently created a web page. It’s indexed on google and everything looks right when we check it through the search console but, for some reason, tools such as ahrefs and moz show there is are no keywords indexing for that page. This is the first time it happens to us and we are not sure why it’s happening.

Some other information that may be useful

  • We already have a couple of backlinks to the page from authoritative sites.
  • It’s a static site (gatsby / react)
  • We use prerender.io for prerendering
  • We use netlify for hosting
  • The page was indexed about 2-3 weeks ago.
  • According to Ahrefs, this is what they show under “organic keywords” section:

In this report, we show the organic keywords for which any domain, URL, subdomain (e.g., blog.domain.com) or subfolder (e.g., domain.com/blog/) ranks. Use the drop-down to select your preferred mode.

  • Here is an screenshot for what I see for the “problematic” page
    enter image description here
  • Here is another screenshot for what I see for a page that was created/indexed some days after the “problematic” one was created enter image description here

Why are there no keywords being indexed?

How do i stop bookmarks from popping up in chrome on android when im typing in the search bar?

Is it possible to hide bookmarks in chrome on Android? Or stop them from showing up in the search bar when typing?

Linking it to Adwords to Google Search Console + Cannot Verify http:// property

Good day everyone and thanks for taking the time to read this.

I have a problem with linking my Google Adwords to my Search Console and have tried to reverse engineer the issue to no avail.

  1. Go to Adwords > Tools and Settings > Linked Accounts > Search Console > Click Details
  2. The site URL that I am allowed to verify is http:// our account is a domain property on Search Console as well as having our https:// property.
  3. I have tried to verify http:// to search console using verify via analytics as well as verify by my tag manager accounts. I used these same accounts to verify https:// and it worked fine.

Can anyone help here?

Recap

Domain property is verified
https:// url of the domain property is verified
https://subdomain on the domain property is verified

Cannot verify http:// url

Google Adwords only gives me the option to connect to search console via the http:// url

Thank you!

8 – Unable to get titles to show up as higher priority in search than content

I have a website I am working on that has a TON of content. The client has noticed that when searching for titles in the site search, it seems to prioritize the body content over the title.

So I changed the search index for titles to be fulltext with a boost of 13. With the rendered output set to a boost of 1. Then I reindexed and that didn’t fix it. I did a full rebuild of tracking information. Same problem.

I found this article: https://medium.com/@easternstandard/how-to-configure-drupal-8-text-search-to-return-better-more-intuitive-search-results-fe0a78136ad7

And followed the instructions there (pretty much what I had already done) and reindexed. Same issue.

An example of this is that we have an article about the response to covid where the phrase “response to covid” is part of the title. When I search for that phrase I do not see it in any of the first-page search results. It is set to show 20 items. In fact, the article in question doesn’t come up until result number 39. None of the prior articles seem to have covid in the title at all. Even searching with quotations makes no difference.

This is currently using the database search/index. I am tempted to implement Solr. But that is a whole-nother ball of wax and I am on a deadline right now.

We are running Drupal 8.9.9 and the Search API 8.x-1.18.

What can I do differently to make it value the title over the rendered content?

seo – Google search results is not displaying my events rich snippets

I have built an event listing website. I have already added Json ld for displaying rich snippets on google search. I validated the result using Google Rich Snippet test tool. It is displaying all events correctly in testing tool. However, when I search for all events of my location in google. It is not displaying any of my event in the Google Rich Snippet event list.

Attached screenshot of my google search. Keyword: I searched For: All Events In Bangalore

enter image description here

Note: I have submitted my site to google console multiple times.

Events List Page: All Events In Bangalore

Can anyone help me to understand what is wrong here?

Youtube: title & description translated – but ignored in search result display

I have translated the title & description of my Youtube video into several languages, incl. Spanish.

Now, when I set my browser locale to Spanish (using an extension), and visit the video directly, I can see the Spanish translation – all good.

But when I search for the video, it does appear in the search results (at position 7), but the original (English) title and description is used.

Why? Is there a way to make the Spanish title appear?

Faceted filtering vs side wide search

It really depends on the context of your case:

  • Is it for a “power user” tool?
  • Is it for single-visit context?
  • Is it a technical website/store (like industry-specific store or something)?

Depending on the answers, you might want to keep your global search as-is, or adjust its behavior.

Narrowing down is normal

When you are looking for something on a website, you often start by visiting around to better understand what the website proposes.
It’s part of the human brain to see global before narrowing down information to reach a more precise goal.

Searching is not different: you search global with some keywords, then you want to adjust regarding the categories and filters the interface/store proposes.

That is for the usual behavior, it might not be the right solution for power-users or really technical domain related website/store.

Advanced filters for power-users

You global search might propose advanced keyword or syntax like Google does.
For instance, when you want result for a specific website, Google allows you to limit your search to a specific domain with this syntax:

site:stackexchange.com faceted filter site wide

You can also use modifier to change the meaning of your research, like:

-site:stackexchange.com "faceted filter" site wide

This one means “not in this site”, and I look for the exact term “faceted filter” into the results.

You could totally imagine keywords for your categories. Let’s take a shoes store example:

brand:martens size:44 color:black winter shoes

Could lead me to pre-filtered search for “winter shoes” of a brand containing “Martens” with a 44 size and black color. Your choice then to allow a bit of fuzziness around the results by providing with 44.5 and 43.5, black and dark blue shoes, for instance.

It doesn’t mean that the global research must only be the only way you can filter things, but it could be a good start to bring a powerful tool for your power-users, and keep the sidebar with filters for beginners, after a first more global search.

Of course, that’s only my opinion and point of view. Best is to analyse your context and ask to users 😊

theming – CSS problems styling the search box block created by Search API Pages module

I’m using Search API and Search API Pages on Drupal 9 and I’m trying to style the Search API Pages search block. The problem is that when placed anywhere but bottom in the sidebar, the search block overlaps with the block below as seen in the attached pics. This makes the blocks visually too close and also (in Firefox) disables the overlapped part of the search box from being clicked in, which is really annoying. Any suggestions for resolving this?

The other issue I’m having is that the fontawesome search icon only appears within the search box in Firefox. In Chrome and Safari the icon is placed at the top left of the page, relative to the body instead of to the search block. What am I missing here?

Overlap between search block and block below

Another view of the overlap

.search-api-page-block-form-search input {
  width: 100%;
}
.search-api-page-block-form-search .form-item {
  width: 70%;
  float: left;
}
.search-api-page-block-form-search .form-actions {
  width: 30%;
  float: right;
}
.search-api-page-block-form-search .form-type-search input {
  border-right: none !important;
  text-indent: 25px;
  background-color: transparent;
  position: relative;
}
.search-api-page-block-form-search .form-type-search:before {
  content: "f002";
  font-family: FontAwesome;
  position: absolute;
  top: 25px;
  left: 35px;
  background-color: transparent;
}
.search-api-page-block-form-search .form-item,
.search-api-page-block-form-search .form-actions {
  margin: 5px auto!important;
  display: inline-block;
  font-family: Consolas, "courier new";
}
.search-api-page-block-form-search .form-actions input {
  font-family: FontAwesome;
  margin: 0 !important;
}

I don’t know whether I’m allowed to provide a link but you can see the problem here: https://verygomez.com/theatre.
Before downvoting this please note that I’m not a coder. I’m trying my best but I’m making this up as I go along.

Thanks!