Ghost in the Machine: How an Uninstalled SEO App Can Still Haunt Your Shopify Store's Rankings
Ever uninstalled a Shopify app, breathed a sigh of relief, only to discover months later it was still quietly messing with your store? It sounds like a horror story, but it's a surprisingly common "ghost in the machine" scenario, especially with SEO apps that dig deep into your theme code. We recently saw a fantastic discussion in the Shopify Community that brought this issue to light, focusing on the AVADA SEO Suite, but the lessons learned apply to many other apps too.
A sharp store owner, ChaseFG, kicked off a vital thread after realizing that AVADA SEO Suite, uninstalled a year prior, was still actively overwriting their carefully crafted SEO titles and meta descriptions. Imagine the frustration! Instead of their unique, optimized content, Google was seeing generic templates like: "Buy {Collection} at {Store}. ✓ Best Offers ✓ Free Shipping" or "
Shop {Product} at the lowest price from {Store}…"
The Sneaky Truth: Why Apps Leave Code Behind
This isn't always malicious, but it's definitely problematic. As oldrobot wisely pointed out in the thread, the timing is the culprit. The moment you uninstall an app, Shopify immediately cuts its API access. The app only "hears" about the uninstall *after* it's lost the ability to modify your theme files. So, any code it directly injected into your theme becomes your responsibility to remove.
Roman79 added a crucial detail: Shopify's "Search engine listing" preview in your admin often shows your *saved* titles and descriptions, not what the live site is actually rendering. This means you could be blissfully unaware that your SEO efforts are being undermined. The only reliable check? Viewing the page source on your live store. This was echoed by Maxime_StoreCanary, who clarified that the "App embeds" panel in your theme editor only lists apps that still have a registered embed. Older SEO apps, or those that write directly into theme files (like snippets, a line in theme.liquid, or even blocks in theme.js), won't show up there even if their code is still running.
Is Your Store Affected? How to Check
ChaseFG provided excellent, actionable steps to check for leftover AVADA code:
- Visit a Live Page: Open any collection or product page on your live store.
- View Page Source: Use your browser's "view page source" function (e.g.,
Cmd+Option+Uon Mac,Ctrl+Uon Windows). - Search for "AVADA": Look for phrases like "Added by AVADA SEO Suite", "AVADA_SPEED_BLACKLIST", or the specific meta description templates ChaseFG mentioned (e.g., containing "✓ Best Offers ✓ Free Shipping"). If you see these, the code is likely still active.
The Full Fix: A Step-by-Step Guide
Before you touch any code, always, always, duplicate your live theme first as a backup! This is non-negotiable and was strongly advised by both Maxime_StoreCanary and ChaseFG.
Finding the Leftover Code (General Approach)
Maxime_StoreCanary outlined a robust method for finding any app's leftover code:
- Source Search: After viewing the page source of a live collection page, search for the app's name (e.g., "avada"). Note where it appears (e.g., a
tag,tag,, or inline script). - Theme Code Search: In your Shopify admin, go to Online Store > Themes > Edit code. Use the search box at the top of the file list and search for the app's name. This searches all files in your theme, including
layout/theme.liquid, snippets, assets, and templates.
Specific AVADA Removal Instructions
Based on ChaseFG's findings, here's how to remove AVADA's code:
- Duplicate Your Theme: As mentioned, always start here.
- Edit
layout/theme.liquid: Open this file in the theme code editor. Near the top, locate and delete this line:{% include 'avada-seo' %} - Delete Snippets and Assets: After removing the
includeline, you can safely delete the following files (if they exist) that start with "avada-":snippets/avada-seo.liquidsnippets/avada-seo-status.liquidsnippets/avada-seo-meta.liquidsnippets/avada-seo-other.liquidsnippets/avada-seo-critical-css*.liquidsnippets/avada-defer-css.liquidassets/avada-seo-font-display*.css
Crucial Note: Do step 2 (removing the
includeline) BEFORE step 3 (deleting the snippets). If you delete the snippets while theincludeis still present, you'll get a Liquid error at the top of your site. - Alternative Quick Disable: If you're hesitant to delete, you can often disable the code by opening
snippets/avada-seo-status.liquidand changing "true" to "false". This one change should disable all of it. - Preview and Publish: Preview your duplicated theme, check the page source again to ensure the AVADA code is gone, then publish the cleaned theme.
Don't Forget These Crucial Checks
- "AVADA Assets - DO NOT REMOVE" Theme: ChaseFG found an extra theme created by the app with this name. Check your list of themes and delete any such remnants.
- Other Themes: Any theme duplicated *after* the app was installed (backups, development copies) will contain the same code. Clean these up too, though focus on your published theme first, as only that one gets crawled by search engines.
theme.jsand JSON Templates: As rupertholmes suggested, don't limit your search to just Liquid snippets. App code can also hide in yourtheme.jsor JSON template files..aio.min.css/.aio.min.jsFiles: ChaseFG noted that AVADA sometimes pointed the theme to these minified copies. If you edit yourbase.cssbut don't see changes, it might be because the theme is loadingbase.aio.min.cssinstead. Keep an eye out for these.
Post-Cleanup: Getting Google Up to Speed
Once you've removed the rogue code, your SEO titles and meta descriptions will finally be visible to Google. To speed up the re-indexing process, as both Roman79 and Maxime_StoreCanary advised:
- Request Indexing: In Google Search Console, use the URL Inspection tool on a few of your key collection and product pages, then click "Request indexing."
- Resubmit Sitemap: Also under Sitemaps in Search Console, resubmit your
/sitemap.xml. Google will recrawl the rest of your catalog over the next few days to weeks.
This kind of issue can be incredibly frustrating and damaging to your SEO efforts, especially when Shopify's own preview tools don't show the full picture. A huge thank you to ChaseFG for bringing this to the community's attention and for sharing such detailed steps, and to everyone else who contributed valuable insights. It's a stark reminder to always keep an eye on your theme code, even after an app is "gone," and to leverage the collective wisdom of the Shopify community!