Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We recently migrated from Wordpress Woocommerce to Shopify and have encountered some page indexing issues that we have quickly remedied using redirects. That said, we also have a number of urls that have no obvious redirect and are Wordpress Woocommerce specific. How can we disclude these urls from being crawled and eliminate these 404 errors?
To exclude specific URLs from being crawled by search engines and eliminate 404 errors for your old WordPress WooCommerce URLs, you can follow these steps:
Create a robots.txt file: In your Shopify admin, go to "Online Store" > "Preferences" > "Search engines." Scroll down to the "Edit robots.txt" section and click on "Create robots.txt file." This file tells search engine crawlers which pages to crawl and which to exclude.
Exclude URLs in robots.txt: Open the robots.txt file and add rules to exclude the specific URLs that are generating 404 errors. For example, if you want to exclude the URL "/old-product-url" from being crawled, add the following line:
Disallow: /old-product-url
Thank you for your reply however this did no resolve the issue as "search engines" is not an available option under preferences.
"Online Store" > "Preferences" > "Search engines."
What worked ....
Themes > Edit Code > Add New Template > Select Robot.txt in dropdown > Disallow: /old urls
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025