Your search is in good hands

  • Pricing
  • Documentation
    • User guides
    • Support
    • Features
      • Roadmap
      • Artificial Intelligence
      • Elasticsearch
      • OpenSearch
      • Solr
      • Algolia
      • Weaviate
      • Hosting
      • Addons (Plugins, themes, features)
      • Releases
    • Blog
  • Demo
    • All Demos
    • Testimonials
  • My Licenses
    • Login
    • Why us
    • Contact us
Menu
  • Pricing
  • Documentation
    • User guides
    • Support
    • Features
      • Roadmap
      • Artificial Intelligence
      • Elasticsearch
      • OpenSearch
      • Solr
      • Algolia
      • Weaviate
      • Hosting
      • Addons (Plugins, themes, features)
      • Releases
    • Blog
  • Demo
    • All Demos
    • Testimonials
  • My Licenses
    • Login
    • Why us
    • Contact us

Home » Your configuration journey, step by step » Add-ons » SEO add-ons

SEO add-ons

56 views 0 February 23, 2021 Updated on March 2, 2021

What are SEO add-ons

The SEO add-ons can allow you to change your website metas and permalinks when it comes to using website search with WPSOLR. WPSOLR can be used with different SEO plugins like Yoast SEO or All in One SEO.

 

Create an index

Image Screenshot-2021-02-19-at-14.36.28-1024x533.png of SEO add-ons

Go to “Connect your indexes” to create a new index. I am going to connect to a search server.

Image Screenshot-2021-02-19-at-14.43.35-1024x675.png of SEO add-ons

Fill in the information below with the information from your search server.

 

Activate the SEO extension

Image Screenshot-2021-02-19-at-14.55.28-1024x436.png of SEO add-ons

Go to “Activate extensions” and click on the correct extension in the sidebar, either “Yoast SEO” or “All in One SEO”.  The configuration of the two extensions are identical so you will be able to follow along.

Click on the first checkbox to activate the extension. If you click on the second one it will speed up sitemaps generation. Sitemaps are generated by Yoast SEO but it can have problems generating them when there is a large amount of data. WPSOLR can help Yoast SEO generate sitemaps faster even when there is a huge quantity of content. Cartochrome uses WPSOLR to speed up MyListing sitemap generation for more than one million listings.

You can also choose how many entries sitemaps will have by filling in the section below the second checkbox. The test mode prevents anyone except logged in users from seeing SEO metas. If test mode is removed bots will also be able to crawl search permalinks.

Image Screenshot-2021-02-25-at-10.12.48-1024x308.png of SEO add-ons

If you don’t want bots crawling your search pages and search results click on these two checkboxes.

Image Screenshot-2021-02-26-at-11.34.51-1024x388.png of SEO add-ons

Image Screenshot-2021-02-26-at-11.34.05.png of SEO add-ons

You should see this if you inspect the front part of the website

Image Screenshot-2021-03-01-at-10.51.27-1024x765.png of SEO add-ons

You can replace the meta title and description. “meta” will be replaced by your search.

Image Screenshot-2021-03-01-at-10.52.32-1024x173.png of SEO add-ons

Image Screenshot-2021-03-01-at-10.52.38.png of SEO add-ons

Here I searched for “Tshirt” as an example. We can see the title in the website tab has changed.

Image Screenshot-2021-03-01-at-10.54.33-1024x64.png of SEO add-ons

If we inspect the website, we can see that meta has indeed been replaced by website search.

Image Screenshot-2021-02-23-at-14.26.54-1024x75.png of SEO add-ons

if you want to change the search page permalink in the url, fill in the the permalink you would like to use in this section. In our example above, the search url will start with /my-search/.

Image Screenshot-2021-02-26-at-11.37.06-1024x78.png of SEO add-ons

before you would see this url when searching.

Image Screenshot-2021-02-26-at-11.37.23-1024x65.png of SEO add-ons

but after choosing a search page permalink you should see something like this.

Image Screenshot-2021-02-23-at-14.48.12-1024x497.png of SEO add-ons

You will have to select the “Use permalinks” option otherwise it won’t work. Then click on “Redirect search”.

Image Screenshot-2021-02-23-at-14.56.59-1024x388.png of SEO add-ons

Click on “Generate search facets permalinks” if you want to generate permalinks for facets. However each facet needs to be configured individually as described in the “Configure WPSOLR” section below. You can also check the “Redirect facets to permalinks home” if you want to display results on permalink homepage instead of search page.

Image Screenshot-2021-02-26-at-11.55.49-1-1024x175.png of SEO add-ons

Image Screenshot-2021-02-26-at-11.54.34-1-1024x68.png of SEO add-ons

This is what we would see before.

Image Screenshot-2021-02-26-at-11.56.24.png of SEO add-ons

This is what we our url looks like now.

Image Screenshot-2021-02-19-at-15.14.30-1024x327.png of SEO add-ons

Don’t forget to also activate the “Theme” extension. If you forget, you will not be able to choose certain option when configuring your facets. For example the range slider will be unavailable.

Image Screenshot-2021-02-26-at-12.08.12-1024x85.png of SEO add-ons

The Range slider in the filter section we will see later is only available if the Theme extension is activated.

Image Screenshot-2021-02-23-at-15.16.52-1024x649.png of SEO add-ons

If you’re using WooCommerce, don’t forget to activate the “WooCommerce” extension.

 

Configure WPSOLR

Image Screenshot-2021-02-19-at-15.37.52-1024x378.png of SEO add-ons

Click on “Define your search” then click on the “Search” checkbox and select your search engine index in the first dropdown menu.

Image Screenshot-2021-02-19-at-16.02.59.png of SEO add-ons

Click on “Data” in the sidebar.

Image Screenshot-2021-02-19-at-16.03.48-1024x245.png of SEO add-ons

Select the content you want to index. In my case, i chose products. Then choose the taxonomies you want to index.

Image Screenshot-2021-02-19-at-16.21.05-1024x365.png of SEO add-ons

Choose the fields you want to use as filters.

Image Screenshot-2021-02-19-at-16.36.37.png of SEO add-ons

Click on “Filter” in the sidebar.

Image Screenshot-2021-02-19-at-16.37.19-1024x118.png of SEO add-ons

Image Screenshot-2021-02-25-at-13.16.10-1024x51.png of SEO add-ons

Select the filters you want to use.

Image Screenshot-2021-02-23-at-15.45.55-1024x642.png of SEO add-ons

the slider can’t be used with the Yoast extension, so if you want the price filter to appear in the permalink choose something like “Regular Range with radioboxes”. Select “Generate a permalink for this facet”. Here I chose to display price then the starting price and the ending price.

Image Screenshot-2021-02-24-at-15.14.00-1024x775.png of SEO add-ons

If you want to change the order in which the filters will appear, click on “Set a position in the permalink url”. Then drag and drop the filters.

Image Screenshot-2021-02-22-at-11.50.24-1024x553.png of SEO add-ons

Do the same thing for the stock filter as well.

Image Screenshot-2021-02-22-at-12.00.24-1024x670.png of SEO add-ons

You don’t need to change the stock status, but you can if you want a different name for each item label.

Image Screenshot-2021-02-22-at-12.14.01.png of SEO add-ons

Click on the “Override each item label” button.

Image Screenshot-2021-02-26-at-12.16.59-1024x602.png of SEO add-ons

Fill in the name you want to display and choose a permalink you would like to use.

Image Screenshot-2021-02-26-at-12.20.44-1024x434.png of SEO add-ons

Image Screenshot-2021-02-26-at-12.20.39.png of SEO add-ons

Before we ended up with this

Image Screenshot-2021-02-26-at-12.20.15-1024x334.png of SEO add-ons

Image Screenshot-2021-02-26-at-12.19.37.png of SEO add-ons

Now we would see this.

Image Screenshot-2021-02-23-at-16.21.06-1024x619.png of SEO add-ons

If you want to see this facet in the permalink, click on “Generate a permalink for this facet”.  The permalinks can be translated with a multilingual plugin like WPML. Here is the WPML documentation.

Image Screenshot-2021-02-25-at-13.18.11-1024x612.png of SEO add-ons

Click on the “Generate a permalink for this facet”.

 

Index your content

Image Screenshot-2021-02-22-at-12.28.05.png of SEO add-ons

Click on “Send your data” .

Image Screenshot-2021-02-22-at-12.29.38-1024x507.png of SEO add-ons

Click on “Index  selected post types in index ‘elastic1′”.

 

Add the WPSOLR Facet widget

Image Screenshot-2021-02-22-at-16.39.08-1024x697.png of SEO add-ons

Click on Customize on the front part of your website then on widgets and sidebar. You will then have to add a new widget and choose WPSOLR Facets.

 

Test the website search

Image Screenshot-2021-02-26-at-15.23.12-1024x416.png of SEO add-ons

Image Screenshot-2021-02-26-at-15.26.59.png of SEO add-ons

As you can see search is working well.

Image Screenshot-2021-03-01-at-10.13.20-1024x482.png of SEO add-ons

The filters are working well.

Image Screenshot-2021-03-01-at-10.13.24.png of SEO add-ons

The permalinks are also working. We can see here that facets are separated by a + sign in the permalink. Here we have selected to facets.

Image Screenshot-2021-03-01-at-10.23.57-1024x461.png of SEO add-ons

I searched for something without selecting any filters.

Image Screenshot-2021-03-01-at-10.23.48.png of SEO add-ons

We end up with this url.

Image Screenshot-2021-03-01-at-10.20.15-1024x505.png of SEO add-ons

Here I tried searching for something and then selecting a filter.

Image Screenshot-2021-03-01-at-10.20.23.png of SEO add-ons

We end up with this url.

Image Screenshot-2021-02-26-at-15.33.26-1024x556.png of SEO add-ons

Image Screenshot-2021-02-26-at-15.33.43-1024x517.png of SEO add-ons

If you click on a product and then click on a category, you will see that the search filters also applies.

Image Screenshot-2021-02-26-at-15.33.47-1024x59.png of SEO add-ons

However the permalinks will not apply.

Image Screenshot-2021-03-01-at-09.47.06-1-1024x284.png of SEO add-ons

Image Screenshot-2021-03-01-at-09.47.10.png of SEO add-ons

As you can see, the noindex, nofollow options still apply. If you want to see this tutorial in detail, you can watch this video:

 

 

 

 

Was this helpful?

Yes  No
Related Articles
  • Create an Amazon AWS OpenSearch index
  • Listable add-on
  • MyListing add-on
  • YITH WooCommerce Ajax Search add-on
  • Embed Any Document add-on
  • PDF Embedder add-on
Expand All Collapse All
  • What is it WPSOLR ?
    • The standard WordPress SQL search
    • The WPSOLR search with Elasticsearch, Apache Solr, or Algolia
  • Your configuration journey, step by step
    • Install Apache Solr
    • Hosted Apache Solr and SolrCloud Services
    • Install Elasticsearch
    • Elasticsearch Hosting
    • Configure your indexes
      • Generate a test Apache Solr index
      • Generate a test Elasticsearch index
      • Create an Apache Solr index
      • Create a SearchStax SolrCloud index
      • Create an Elastic Elasticsearch index
      • Create an Amazon AWS OpenSearch index
      • Create an Algolia index
      • Create an Elasticsearch index
      • Create an Opensolr Solr index
      • Create a Qbox Elasticsearch index
      • Create an ElasticPress Elasticsearch index
      • Create an Aiven Elasticsearch or OpenSearch index
      • Create a Bonsai Elasticsearch index
      • Create an Amazon AWS Elasticsearch index
      • Create an ObjectRocket Elasticsearch index
      • Create a Cloudways Elasticsearch index
      • Create an Alibaba Cloud Elasticsearch index
      • Create a Compose Elasticsearch index
      • Connect to an Apache Solr index
      • Connect to an Elasticsearch index
    • Add-ons
      • bbPress add-on
      • YITH WooCommerce Ajax Search add-on
      • SEO add-ons
        • Yoast SEO add-on
        • All in One SEO add-on
      • Listable add-on
      • ACF add-on
      • Advanced Scoring add-on
      • Cron Scheduling add-on
      • Theme add-on
        • Filters layouts
          • Radiobox & Checkbox Layout
          • Numeric Range Layout
          • Colour Picker Layout
          • Range Slider Layout
        • Add Ajax to the current Theme
        • Collapse taxonomy hierarchies
        • Custom Facets CSS
      • WPML add-on
      • Premium add-on
        • Manage more than one Elasticsearch or Solr index
      • PDF Embedder add-on
      • Geolocation add-on
      • AI Natural Language APIs add-on
        • Amazon Comprehend
        • Google Natural Language
        • Aylien Text Analysis
        • MeaningCloud
        • Qwam Text Analytics
      • Toolset Types add-on
      • AI Image and OCR APIs add-on
        • Google Vision
        • Amazon Rekognition
      • Embed Any Document add-on
      • MyListing add-on
      • Polylang add-on
      • WooCommerce add-on
      • Cross-domain search add-on
      • Directory+ add-on
      • Toolset Views add-on
      • Listify add-on
      • Jobify add-on
      • Query Monitor add-on
  • Quick start
Login
Support
Privacy policy
  • Terms and Conditions
  • © 2020 wpsolr.com. All Rights Reserved.
Youtube
Roadmap