Issue - Google Search Console is able to detect URL re-directs occuring at Shopify's end, when peforming a site ownership verifcation check via their uploaded .html file method. When Console detects the re-direct, it returns a failed verification result.
Question - What is the solution / work around for this?
Yes, there are other verification methods, but the .html file method is easiest for my newbie skill set. The .html method worked like a charm with Bing.
This Shopify article details the URL re-direct steps:
But alas, Console now gives a failed verification when it detects the URL re-direct. I have repeated the steps several times, deleting the old red-directs and old .html files each time, but there is no joy. Console, upon failed verification, specifically states that a re-direct has been detected and that it considers the re-directed URL location to be a disallowed location.
Thanks - James . . . Friendly ps - Shopify: above article needs updating due to this issue with Google Console if issue holds true
If you have up to date Google Analytics set up you should be able to use that to verify. Thus avoiding the need for playing with files or meta tags.
I think my last post failed. If so...
You could try verifying via your Google Analytics account if you have it set up and up to date. It's simpler as it does not require any file uploads or template changes.
The HTML file upload can be quite tricky sometimes, and quite honestly, it can be a headache. My advice would be to use the HTML metatag verification method. This is accomplished by pasting a small piece of code directly below <head> in your theme.liquid file.
I've recorded a video here that walks through the entire validation process. From adding a site to the search console, to adding the code, to verifying.
A quick note: You'll notice in the video that I disabled my storefront password first. This is a requirement. If your storefront has a password, Google will not be able to verify.
- Jordan | Shopify Guru
Thank you Jordan. I let my newbie fingers go for a walk in the code and was succesful with the meta tag. But it's not a place where a newbie likes to go, especially when Bing's .html file worked perfectly.
Shopify needs to revisit their support article in light of Console rejecting re-directs for the sake of the newbies (-:
Thanks - James