Locksmith
Install LocksmithContact us
  • Quick Start
  • đź’ˇBasics
    • A Locksmith Overview
    • Creating locks
    • Creating keys
    • Compatibility with other apps and Shopify features
    • Removing Locksmith
  • 🔆Tutorials
    • Approving customer registrations
    • Creating restricted wholesale products
    • Hiding product prices and/or the add to cart button
    • Selling digital content on Shopify
    • More tutorials...
      • Setting up multiple price tiers
      • Customizing messages
      • Customizing the customer login page
      • Customizing the registration form
      • Customizing the passcode form
      • Customizing Locksmith’s "Access denied content" messages, and redirecting customers
      • Customizing the email list signup form
      • Showing multiple prompts on the same page
      • Showing content only to specific Markets
      • Input lists
      • Protecting against bots
      • Earn recurring revenue on your exclusive content using ReCharge
      • Use Locksmith and PayWhirl together to grant access based on subscriptions
      • Liquid locking basics
      • Restricting checkout from the cart
      • Confirmation key condition
      • Restricting customers to a specific collection
      • Passcode-specific redirects
      • Grow your subscriber lists with Klaviyo
      • Use Klaviyo as an access control list
      • Use Mailchimp to collect customer emails
      • Hiding out-of-stock products
      • How to use a private browsing session
      • Granting access to variants by visitor input
      • Offering different variants by postal code
      • Locking products by tag
      • Locking multiple pages at once
      • Making a product accessible exclusively from the direct product link
      • Creating private team areas
      • Importing customers in bulk
      • Disabling Locksmith for certain theme files
      • Adding translations to your Locksmith messages
      • Redirecting using Locksmith
      • Locking variants
        • Limiting the scope of variant locks using the product tag key condition
        • Handling JavaScript DOM errors caused by variant locks
      • Locking the customer registration form
      • Locking the search results page in your store
      • How to clear cache for a single website
      • Disabling Locksmith for certain theme files
      • 🛠️Manual mode
      • Grant access for a limited time when using passcodes or secret links
      • Testing Locksmith on unpublished themes
      • Locking blog posts
      • How to access your browser's dev tools
      • Restricting the cart for mixed products and combinations of products
      • Locking products by vendor
      • How do I hide my Shopify store's header and footer
      • Hiding navigation links for locked resources
      • Hiding products from product-grids
      • Restricting a product so that it can only be purchased by new customers
      • Automatically managing the seo.hidden metafield using Locksmith
      • Locking the home page
      • Setting up checkout validation with Locksmith
      • How to hide theme sections, blocks, and snippets
  • 🔑Keys: Access methods in Locksmith
    • About key conditions
    • Customer account keys
    • Passcode keys
    • Secret link keys
    • Visitor location keys
    • More about keys...
      • Inverting conditions in Locksmith
      • Combining key conditions
      • "Has purchased..." key
      • Using the "Force open other locks" setting
      • Liquid key basics
      • Manual mode
      • Excluding content from locks
      • IP address keys
      • Newsletter keys
      • Limiting the scope of variant locks using the product tag key condition
  • 🌻FAQs
    • Why aren't my locks working?
    • FAQ: I see blank spaces in my collections and/or searches when locking
    • Can Locksmith hide content from my in-store search?
    • Locksmith is not working with my page builder app
    • What should I do if my site is loading slowly?
    • I'm the administrator of my site and I cannot access pages because of Locksmith locks.
    • More FAQs...
      • I'm having trouble using Locksmith with a site speed optimization app.
      • The app isn't loading. What do I do?
      • Can Locksmith protect shipping methods, billing methods, or coupon codes?
      • I switched themes, and Locksmith isn't working
      • Why isn't my passcode, secret link, newsletter, or location key working?
      • Can Locksmith lock Shopify's public JSON API for my online store?
      • Why are my customers seeing a reCAPTCHA when logging in?
      • My passcode or newsletter prompt is not updating on my store when I change it.
      • My featured collections on my home page only show one product.
      • My infinite scrolling doesn't show all of my products.
      • My customers have to enter their e-mail address into the Mailchimp key every time they visit.
      • How do I know which customers have used a certain key?
      • Why is Locksmith adding information to my orders?
      • Locksmith isn't installing correctly!
      • Locksmith is not uninstalling correctly!
      • How does Locksmith affect search engines and SEO?
      • How do I change where customers are redirected to after registration on Shopify
      • The thing I want to lock isn't showing up in the Locksmith search
      • I am getting an "already taken" error when trying to create a metafield definition for seo.hidden
      • How do I add a hero banner image to Locksmith's access messages
  • đź“’Policies
    • Usage agreement
    • Locksmith's pricing policy: Pay what feels good
    • Privacy policy
    • Data policy
    • Contact us
  • 🔦Developer Tools
    • Locksmith Admin API
    • Locksmith Storefront API
    • Locksmith variables
    • Unsupported functionality
    • Requests from Locksmith
  • More developer docs...
    • Using the Admin API with Locks
  • App Integrations
    • Easy Appointment Booking
Powered by GitBook
On this page
  • "Robots" tags
  • Sitemaps
  • Important note
  • Meta tags
  • Location and IP address keys
  • Wondering how else Locksmith affects SEO?

Was this helpful?

Export as PDF
  1. FAQs
  2. More FAQs...

How does Locksmith affect search engines and SEO?

How Locksmith helps hide your locked products/content from Google and other search engines

PreviousLocksmith is not uninstalling correctly!NextHow do I change where customers are redirected to after registration on Shopify

Last updated 1 year ago

Was this helpful?

Locksmith works hard to fully protect anything you lock, in as many ways as possible. This includes deep protection of meta content - the content that's read by search engines and other computerized agents.

"Robots" tags

By default, Locksmith automatically adds the following for all of your locked resources:

<meta name="robots" content="noindex">

This means that search engines will be prevented from indexing your locked content.

If you do not want Locksmith to add this metatag to your locked pages, you can turn it off in the lock settings under Advanced > Add the "noindex" meta tag to any pages protected by this lock. Keep in mind that this does NOT allow your locked content to be accessed or indexed - it simply allows the locked landing page (E.g. "This content is protected...") to be found by search engines.

Note: When using Locksmith's manual mode(e.g. hiding only prices or add-to-cart), this meta tag will NOT be added, which means that any content not directly protected by your manual lock will be indexed.

Sitemaps

Some locks in Locksmith support an extra advanced setting, called "Hide product from sitemaps". Enable this setting to have Locksmith ask Shopify to exclude your locked resource from sitemaps, and from storefront searches.

When this setting is enabled, the locked resource will never show up in store search, even when the lock is opened.

This setting is not strictly necessary for hiding your content from search engines, if you already have the "Add the noindex metatag..." setting turned on. However, this setting can be useful to more completely signal your intent to search engines. More information about this setting here:

Important note

Enabling this setting creates a metafield, which is maintained but not owned by Locksmith. If you remove Locksmith from your list of installed apps, Locksmith will not be authorized to remove this meta field for you. In this scenario, any locked resources with this setting enabled will still be excluded from sitemaps, and from storefront searches.

If you need to remove Locksmith from your list of installed apps, make sure to remove beforehand.

Meta tags

Locksmith hides the following meta tags for your content, so long as you've enabled the lock option for hiding the lock's resource in your shop:

  • Open Graph: og:title , og:type , og:description , og:image , og:image:secure_url

  • Twitter: twitter:title , twitter:description , twitter:image , twitter:image:width , twitter:image:height

  • Description: description

Regardless of whether or not lock resource hiding is enabled, Locksmith will always protect these meta tags for locked content:

  • Open Graph: og:price:amount , price:currency

Location and IP address keys

If you are using Location or IP address keys, and you still want your content to be indexed, you still have options!

Wondering how else Locksmith affects SEO?

Locksmith doesn’t distinguish between a regular visitor and a search engine, so anything that is blocked for a regular non-signed-in visitor will also be blocked to search engines.

With that in mind, here are a few of the common questions related to this:

"I want to make sure that Locksmith is blocking access to search engines, and that my locked pages won’t be indexed by search engines”

Locksmith does this automatically by default. As long as you have a regular, full page (non-manual) lock, your content will be hidden from search engines.

“I want to lock content but I still want potential customers to find my products using search engines”

  • “Add to Cart” button - this would prevent people from buying the product unless they have access, but they would still be able to see all the information about the product.

It is important to know that content protected under these key types will not be indexed properly in most cases. Search engine "web crawlers" will access the page in the same way that a regular visitor would, and the server that the crawling is taking place from may or may not be located in a location that is allowed by your key conditions. Additionally, because of , we are not allowed to simply grant access to a crawling agent automatically (show different content to a search engine vs a regular visitor, as per Google regulations).

If you have specific products that are not available in certain countries: You'll need to use manual locking to hide only the add-to-cart button. .

If you have different versions for different countries: You can create separate versions of your products using variants, and setting up Locksmith to hide the variants depending on who is visiting. .

Since any locked content will be hidden from search engines, your option here is to do manual locking. Using manual locking, you can specify certain content to be locked on pages (instead of the whole page). . Here are a few examples of how you could manage that:

Metadata - you can hide certain parts of the page but leave the metadata unlocked. This is what search engines use to index your pages anyway. So leaving this unlocked would be an effective way to allow your pages to be searchable. .

Prices - You can hide the price while leaving all other information visible. This is usually done along with the “Add to Cart” button. .

🌻
robots meta tag
Read more about manual mode here.
Automatically managing the seo.hidden metafield using Locksmith
Locksmith completely from your theme
Google's rules against cloaking
More info on that here
More info on that here
We have a guide on manual locking here
More information from Shopify about Metadata here
Our guide on price hiding is here