Home › Forums › Stripe Payments Plugin › Undesired content from Stripe payment plugin getting indexed by Google, Bing etc › Reply To: Undesired content from Stripe payment plugin getting indexed by Google, Bing etc
Hi thanks for the info. I’m experienced with SEO and using Rankmath with this site. I am familiar with how to index/noindex follow/nofollow desired pages/posts, etc.
I didn’t mean to suggest it was a problem/bug, I just happened to notice depending on how you search for the site Google will bring up different description results even if you have thoroughly configured the site with SEO plugin with set page/post meta for titles/descriptions. Most of the time the SEO set title/descriptions are provided by Google, but sometimes Google will show that text in the descriptions on search results.
The only point I was making is that any element code containing the text “Stripe Payments requires Javascript to be supported by the browser in order to operate” could be identified to Google in any number of ways to indicate that this does not need to be indexed by Google. (just the element, not the page/post that the button is on).
That’s why I provided those links because they address this specific issue. For example,
https://perishablepress.com/tell-google-to-not-index-certain-parts-of-your-page/
But I understand if you don’t want to fiddle with this as without thorough testing three is always the chance it could have unexpected or undesirable effects for plugin users. I just thought from reading about this issue that it would be fairly easy & straight forward to implement.
Perhaps I will try experimenting with variables within the <div class=”asp_product_buy_button”> to see if I can get Google to drop the text from search results.
Thanks