Crafted Pour Cocktail Gallery Plugin
Optimizing Plugin SEO
Rev. March, 19, 2024
This document provides guidance on how to optimize the SEO of your Crafted Pour Plugin.
Dedicated Site
The first step is to make sure you have a dedicated page for drink recipes. If you don’t plan on displaying a dedicated recipe page on your website, this page can be hidden but must still be accessible for search engines to crawl.
Best practice is to name the URL slug ‘cocktails’, so that your page reads like this - https://www.yourwebsite.com/cocktails
Injecting Code
The next step is to inject a short code snippet into the header of your dedicated recipe page.
<script id="crafted-pour-recipe-plugin-script-seo" type="module"
src="https://plugin.craftedpour.com/scripts/crafted-pour-recipe-plugin-seo.js"/>
Shopify
If you are using Shopify, follow these instructions instead.
Go to current theme and select Edit Code as follows:
Edit theme.liquid file and add the following script for the template used for recipes pages. E.g. for a template named cocktails, we need to add script as follows:
{%- if template == 'page.cocktails' -%}<script id="crafted-pour-recipe-plugin-script-seo" type="module" src="https://plugin.craftedpour.com/scripts/crafted-pour-recipe-plugin-seo.js"/>
{%- endif -%}
Hard Coded Links
An extra step you can take to optimize your plugin SEO, is for us to create a file of existing recipes with links that can be hard-coded onto a page on your website. It doesn't need to appear in the menu, as long as it is included in the siteindex.xml or robots.txt. Please reach out to us for more info regarding this.
Enjoy your new cocktail gallery
Contact support@craftedpour.com with any questions or issues