A Shopify store owner reports that page titles and meta descriptions no longer display what’s entered in the Shopify backend. Instead, all titles have been changed to ‘American Express’ and descriptions show reversed/encoded text (“sit sknahT” and URLs like “moc.ahctamoknek”).
Attempted Solutions:
SpellnSell suggested adding specific code to theme.liquid under the <head> tag, which partially fixed the issue for most pages but not the homepage.
Dan-From-Ryviu recommended restoring a previous theme version through the theme editor’s “Recent changes” backup feature.
SpellnSell then provided more comprehensive code to replace the existing <title> tag, including conditional logic for page_title, page_description, and Open Graph meta tags.
Current Status:
The issue appears to stem from malicious or corrupted code in the theme files. The homepage title/description remains unresolved despite initial fixes. The conversation includes code snippets (some appearing reversed/encoded) for implementing proper meta tag handling in theme.liquid.
Summarized with AI on November 8.
AI used: claude-sonnet-4-5-20250929.
All my page Titles and Meta descriptions have been edited in my shopify source code - so no longer display what I enter in shopify backend.
I am unsure what to edit in the theme code to remove these. The Meta Descriptions have been deleted sitewide, and Page Title has been set to ‘American Express’.
I am unsure where to edit this in the shopify source code so that it reverts to what I enter in the shopify backend