Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Site Hack In Meta Description
-
Hey MOZ Community,
I am looking for some help in identifying where the following meta description is coming from on this home page - https://www.apins.com. I have scrubbed through the page source without being able to locate where the content is being pulled from. The website is built on WordPress and metas were updated using Yoast, but I am wondering if an installed plugin could be the culprit. On top of this, I have had a developer take a look for the "hack" and they have assured that the issue has been removed. I have submitted the URL in GSC a couple of times to be re-indexed but have not had much luck.
Any thoughts would be much appreciated, the displayed description is below.
The health screening plays http://buyviagraonlineccm.com/ a significant and key role in detecting potentially life-threatening illnesses such as cancer, heart ...
-
Google will often make up its own mind what to put in your description, especially if it thinks that your provided description doesn't match what it thinks the page is about.
I'm afraid your developer hasn't fixed the issue. I was looking in the wrong place (your screenshot identified the issue), the malware isn't replacing the meta description, but actually inserting text at the top of the page, but only when it detects that it is the Mobile Googlebot visiting.
Using Google Chrome Developer Tools you can set your user agent and see the issue yourself (See my screenshot)
If I were you, I'd disable all the plugins and then reload the page in Chrome with your user agent set and see if that helps, if not, I would look at your theme's JS/source files.
-
Thanks Alex,
Appreciate the look through. Speaking from memory, but I believe the problem was removed around the 20th of January 2019. I have been manually requesting the indexing of the page in GSC every two weeks since that point, so as much as I would like it to be a waiting game, I have a feeling there is still an error and that leads to my next point.
Great suggestion on retaking a look at URL inspection tool. When I used the tool previously, I did not tab over to the "screenshot" mode, and that seems to be where this is all coming from. Take a look at my screenshot. The page is full of copy that matches up to that spammy meta description. My next two questions would be, how could this be overwriting my descriptions when I don't see any of this on the live site or in the page source? Additionally, there have been no security reports in our GSC account, is that normal?
-
I can't see anything obvious. I did wonder whether it might be a script that only replaced the description when it was crawled by Google but I can't see any evidence of this.
If your developer is suggesting that they have removed the issue, I assume they did find a problem and have corrected it. When was it corrected? It may well just be a case of Google taking some time to update the index. You could check this in Search Console, use the URL Inspection and do a Live Test and then View Tested Page, check the source to see if the description is as expected.
If it is, I think it is likely just a case of waiting, given that you have already requested reindexing.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Meta Description for ALL my Posts is Being Overwritten!
Every single one of my posts meta descriptions are being overritten with the same meta description! I use Yoast and have proper meta descriptions in my posts, but something seems to be overriding them. https://ibb.co/rcgWNXb Any idea what could be causing this? Thank you!!! Mike
Technical SEO | | naturalsociety1 -
Can you force Google to use meta description?
Is it possible to force Google to use only the Meta description put in place for a page and not gather additional text from the page?
Technical SEO | | A_Q0 -
Commas in Meta Title and Description Okay?
Hey there guys, have heard some recent information from some experts that utilizing commas in headings, meta titles or descriptions is not good for ranking. Can you guys please shed some light on this? Thank you!
Technical SEO | | MrGlobalization0 -
Meta Description VS Rich Snippets
Hello everyone, I have one question: there is a way to tell Google to take the meta description for the search results instead of the rich snippets? I already read some posts here in moz, but no answer was found. In the post was said that if you have keywords in the meta google may take this information instead, but it's not like this as i have keywords in the meta tags. The fact is that, in this way, the descriptions are not compelling at all, as they were intended to be. If it's not worth for ranking, so why google does not allow at least to have it's own website descriptions in their search results? I undestand that spam issues may be an answer, but in this way it penalizes also not spammy websites that may convert more if with a much more compelling description than the snippets. What do you think? and there is any way to fix this problem? Thanks!
Technical SEO | | socialengaged
Eugenio0 -
Miss meta description on 404 page
Hi, My 404 page did not have meta description. Is it an error? Because I run report and seomoz said that a problem. Thanks!
Technical SEO | | JohnHuynh0 -
Auto generated meta description tag in Drupal
Was having issues on Drupal not autogenerating a meta description tag, but I think I have figured it out. Just to verify, would this piece of code be the meta description tag (reason I ask is b/c it looks a little different than the usual tag I have seen):
Technical SEO | | kevgrand0 -
SEO plugin by Yoast messing up my title/meta description
Hey guys, I'm having some issues with my wordpress blog, and I believe SEO plugin by Yoast could be the one causing it. I have set a title for my wordpress blog, and a tagline. This was set in dashboard > settings > general Under "titles and metas" > home in the plugin it says, title: %%sitename%% %%page%% %%sep%% %%sitedesc%%, and meta description is blank. The reports on seomoz says my title is title+meta description - making it to long (to many characters). What could be the issue here? Thanks in advance!
Technical SEO | | danielpett0