seo – Sitelink search box does not appear on Google after adding JSON-LD SearchAction to my site yesterday

I added the JSON-LD code to my site but search bar did not appear. What is the reason for this? am i doing something wrong?

 <script type="application/ld+json">
        {
        "@context": "https://schema.org",
        "@type": "WebSite",
        "url": "https://www.example.com/",
        "potentialAction": {
        "@type": "SearchAction",
        "target": "https://www.example.com/search?term={search_term_string}",
        "query-input": "required name=search_term_string"
        }
        }
    </script>

How to add position to products in product listing comes from search results in magento 1?

Hope you are doing good.

You can do it by following the below steps:

  1. Click on a category in the category tree to display the category related information.
  2. Then, click on “Category Products” tab that will display the category products grid.
  3. In the last column of product grid set/update the product position.
  4. If you see no product listed in the “Category Products” tab, it means that the category has no products assigned to it. So click the “Reset Filter” button to list all products, now select the products first and then in the last column of the product grid set the product position.
  5. Last, save the category.

Besides, The product position is a global attribute and there is a table with the relation between category id and product ids and also the position for that product in that category. The table is: catalog_category_product.

I hope that works for you.

Last you can also check for Magento DevDoc but its for version 2.

Make Google search results link directly to linked page

Google search results usually link to google.com/url with a bunch of gibberish.

How can I make them link directly to the result?

I’d like a solution that works for both Chrome and Firefox

sql server – Getting the exact and closest Search using CONTAINS/CONTAINSTABLE in SQL

I have a table that contains 30 000+ records named as ProductCodes that contains a column ‘Value‘.

I have made a query that’ll return the records matching and containing a passed String using CONTAINS.

Select TOP 5 * from ProductCodes
WHERE CONTAINS(Value,'"pepper*"')

It does return the records contains ‘Pepper’ e.g. Pepper and Bayleaf, Peppermint, Dr. Pepper etc.
I also have an exact record that only contains the exact string, ‘Pepper’ which is displayed in the mid of the results. I only need to select the TOP 5 of the records and also the exacting match of passed string.

I also tried to use the CONTAINSTABLE

SELECT Value, RANK FROM
ProductCodes PC
INNER JOIN
CONTAINSTABLE(ProductCodes,Value,N'pepper') AS KEY_TBL
ON PC.Value = KEY_TBL.(KEY)
ORDER BY RANK DESC

I tried using a WHERE rank = 1000 which I read somewhere that’s the rank of the closest match but as I figured out the rank of the record ‘Pepper’ is 128 and phrases that have more than 1 word match have a higher rank.

I am fairly new to using FREETEXT and Semantics so I am still learning on it. How can I take the exact match and ‘partial’ match in my TOP 5? TIA

edit:

I have added a UNION ALL query where it first selects the equal record and combining it with my CONTAINS query.

SELECT TOP 5 * FROM (
 SELECT TOP 5 * From ProductCodes 
 WHERE Value = 'pepper'
 UNION ALL 
 Select TOP 5 * from ProductCodes
 WHERE CONTAINS(Value,'"pepper*"')
) as Value

Now, I can get the exacting match and partial match but wonder how it’ll make my query slower.

sharepoint online – Unable to filter the items based on the content type inside my content search web part

I have a content search web part inside our sharepoint online site collection, and i want to show items which are under certain content type, but when i use the following to get the items which are linked to a content type named “OrderManagmentSales”, as follow:-

enter image description here

i got all the items and not only the ones associated with the “OrderManagementSales” content type, any idea why this is not working? seems the content search web part ignore the ContentType:"OrderManagementSales" inside the query..

Thanks

exclude – google search console excluded urls

I submitted sitemap in google search console. Now in coverage it shows 190 excluded urls. Why google excludes url and how to reduce or minimize excluded urls? why google doesn’t want to indexed that pages?

Google Page Experience: Upcoming Search Ranking Change

Google is planning a search ranking change incorporating Core Web Vitals, and planning for the new algorithm.

android – Search com ListView customizada

Galera, estou começando programar faz 1 mês.
Comecei a estudar Java e Android e uma hora ou outra eu tento seguir alguns tutoriais no YouTube e ir implementando coisas a mais do que é ensinado.
Criei uma ListView personalizada seguindo passo a passo de um tutorial e queria colocar um “search” nessa lista, porem quando eu digito algo no search a lista inteira some alguém tem noção do que pode ser?

Adapter:

import java.util.ArrayList;
public class LinhaAdapter extends ArrayAdapter<topicos> {
private final Context context;
private final ArrayList<topicos> elementos;

public LinhaAdapter(Context context, ArrayList<topicos> elementos){
    super(context, R.layout.linha, elementos);
    this.context = context;
    this.elementos = elementos;

}

@Override
public View getView(int position, View convertView, ViewGroup parent) {
    LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
    View rowView = inflater.inflate(R.layout.linha, parent, false);
    TextView tituloTopico = (TextView) rowView.findViewById(R.id.titulo);
    TextView textoTopico = (TextView) rowView.findViewById(R.id.textoLinha);
    ImageView imagem = (ImageView) rowView.findViewById(R.id.img);
    tituloTopico.setText(elementos.get(position).getTitulo());
    textoTopico.setText(elementos.get(position).getTexto());
    imagem.setImageResource(elementos.get(position).getImagem());
    return rowView;
}

}

Molde:

public class topicos {
private String titulo;
private int imagem;
private String texto;

public topicos(String titulo, String texto, int imagem){
    this.titulo = titulo;
    this.texto = texto;
    this.imagem = imagem;

}

public String getTitulo() {
    return titulo;
}

public void setTitulo(String titulo) {
    this.titulo = titulo;
}

public int getImagem() {
    return imagem;
}

public void setImagem(int imagem) {
    this.imagem = imagem;
}

public String getTexto() {
    return texto;
}

public void setTexto(String texto) {
    this.texto = texto;
}

}

Fragment:

public class FragmentBuscarProblema extends Fragment {
LinhaAdapter adapter;

@Nullable
@Override
public View onCreateView(
        @NonNull LayoutInflater inflater,
        @Nullable ViewGroup container,
        @Nullable Bundle savedInstanceState) {
    View view = inflater.inflate(R.layout.fragment_b_problema, container, false);
    ListView list = (ListView) view.findViewById(R.id.lvTopicos2);
    final ArrayList<topicos> teste = adicionarTopicos();





    SearchView inputSearch = (SearchView) view.findViewById(R.id.inputSearch);


    adapter = new LinhaAdapter(this.getContext(), teste);
    list.setAdapter(adapter);

    inputSearch.setOnQueryTextListener(new SearchView.OnQueryTextListener() {
        @Override
        public boolean onQueryTextSubmit(String query) {
            return false;
        }

        @Override
        public boolean onQueryTextChange(String s) {

            adapter.getFilter().filter(s);
            return false;
        }
    });

    return view;


}



private ArrayList<topicos> adicionarTopicos() {
    ArrayList<topicos> topico = new ArrayList<topicos>();
    topicos e = new topicos("Instalação Win server 2012", "Na hora que tento pular de fa...", R.drawable.teste);
    topico.add(e);
    e = new topicos("Somando Strings", "Estou tentando somar Strin...", R.drawable.teste2);
    topico.add(e);
    e = new topicos("Baskhara", "Alguem tem a formula de Baskhara?", R.drawable.teste3);
    topico.add(e);

    return topico;
}

}

What is Google Search Console’s complaint about CLS (cumulative layout shift)?

Google Search Console is saying:

CLS issue: more than 0.25 (desktop)
First detected: 5/27/20
Status: Poor

enter image description here

But the page itself is simply a table containing UTF-8 text.
It has an external style sheet, but no images, scripts, or forms.
The one possibly uncommon thing is that I serve it as XHTML.

Why would this page experience shift?

Strangely, the complaint occurs only for desktop, not for mobile, even though it is a wide table that can be read much better on a large screen.

(Note that I’m not especially concerned about performance, etc. itself; the page is mostly only for my own use. I’m simply curious about how and why layout shift could be detected.)

search engine indexing – Google won’t index my newly created home page after I had used a removal request for the default WordPress site on my domain

I have a site built with WordPress. Initially, because the default content of the template was indexed in Google, I decided to remove those URLs through the removals section in the Google console search. I also enabled the nofollow and noindex tags for all posts and tabs via the Yoast plugin.

After that, when I searched site:example.com, there were no search results. When I tried to index the home page again from the Google console search, https://example.com, I came across a noindex error while I had previously removed the tags.

Other pages do not provide this error, but I Google Search Console live test reports that the page “will be indexed only if certain conditions are met”

I don’t know why in the beginning, even though I didn’t create a sitemap, everything was normal and the pages were indexed quickly, but after I deleted the previous URLs and added new ones, the pages don’t index. Of course, the last time Google crawled the home page was on May 26.