Thanks @ahmedkaludi
I cannot share you the website URL, sorry. I assumed you do not add the values in custom post types, but somehow this happened ??
To give you an example, Google Search Console indexed something like this:
https://exampleurl.com/my-custom-post-type/single-post-slug/amp/
When I go to that URL, I get redirected to https://exampleurl.com/my-custom-post-type/single-post-slug/. When I check the source of the page there’s no <link rel="amphtml"
generated anywhere.
The rest of the pages and standard posts work fine, they are indexed by the Google Search Console, if I hit their URLs with /amp/
appended I see the amp version, and if I check the source of the standard version I see the <link rel="amphtml"
.
Thanks for any help you can give me here.