Plug in SEO will automatically generate unique page titles and meta descriptions for any of your searches, including the search query and results, offering a powerful way to improve your ranking and increase your click-through rate.
If the titles and descriptions being generated by default are not best for your shop you have the option to create a custom template using liquid code.
New to using liquid code? Read our guide here: Plug in SEO Liquid
Option 1: Edit Our Recommended Templates
To make small customizations to your page title or description you can copy the template that we recommend by default and make adjustments.
To edit your title or description template:
- Review the 'Default Title Template' and 'Default Description Template' below
- Copy and paste one into either the relevant collection template field in the Plug in SEO app
- Update the text and liquid code as desired
- Press 'Save and preview'
- Scroll down and view the new title or description in the 'Live Search Engine Preview'
Default Title Template:
Shop %% search.terms %% at %% shop.name %%
Default Description Template:
Find %% search.terms || default: 'it' %% here%% search.results || map: 'title' || take: '3' || join: ', ' || prepend_not_empty: ' including ' || append_not_empty: ' and more' %% at %% shop.name %%
Example Output:
Search terms and results
Shop smiling stock photo t-shirt at StockPhotoTees.com
Find smiling stock photo t-shirts here including Laughing woman eating salad t-shirt, Happy Seniors t-shirt, and more at StockPhotoTees.com
Search terms, no results
Shop smiling stock photo t-shirt at StockPhotoTees.com
Find a smiling stock photo t-shirt here at StockPhotoTees.com
No search terms, no results
Shop at StockPhotoTees.com
Find it here at StockPhotoTees.com
Option 2: Use or Modify a Different Example Templates
What your unique selling points are and how your shop is set up will influence your titles and descriptions. Do you want to highlight your great sale prices? Use product.compare_at_price_max below. Have you tagged your products with keywords like 'formal', 'casual', and 'dinner party'? Use product.tags.
Take a look at our most popular options below and then craft the perfect title and description templates for your shop.
New to using liquid code? Read our guide here: Plug in SEO Liquid
search.results
Input
Browse %% search.results || map: 'title' || take: '3' || join: ', ' %% at %% shop.name %%
Output
Browse Laughing woman eating salad t-shirt, Happy Seniors t-shirt at StockPhotoTees.com
search.results_count
Input
See the over %% search.results_count %% stock photo tees that match your search here!
Output
See the over 23 stock photo tees that match your search here!
search.terms
Input
Looking for %% search.terms %%? Find it here!
Output
Looking for smiling stock photo t-shirt? Find it here!
Option 3: Create a Unique Custom Template
If none of the examples above suit the type of template you would like for your shop you can use any available liquid objects to create a unique template for your shop.
You can view all available liquid objects here:
- All of the Search object attributes
- shop
Comments
0 comments
Please sign in to leave a comment.