The URLs mentioned in Google Search Console redirects to another website

The URLs mentioned in Google Search Console redirects to another website - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the The URLs mentioned in Google Search Console redirects to another website error on your web browser. Problem :


Google Search Console reported structured data issues on my WordPress blog. When I clicked on those URLs then I am redirected to a Canadian Pharmacy Website (this is a spam site)



However, if I copy paste that URL in browser then I can open that site easily.



I checked WordPress Admin and also did Malware Scanning. It seems site is working fine. I also updated plugins, and change to default theme. But I still get the same results.



What could be wrong? Google is crawling that Canadian Pharmacy Website and not my website.



Please suggest.


Solution :

OK, let's explain again:



Your site is hacked.
When you browse the site just by browsing to it, then it works OK.
But when the user comes via Google, then it shows the pharmacy content / redirect
That is called a conditional hack.



So someone hacked your site so it shows different content when you visit the site via Google. The same situation happened to me about my site and was redirected to an adult ads network but after searching a lot i found my site hacked.



To solve it you will need to check into the site and find / remove the hack
see https://aw-snap.info/articles/spam-hacks.php
You might need to ask your developer to check.


We hope that this article has helped you resolve the google-search-console, redirects, error in your web browsers. Enjoy browsing the internet uninterrupted!

Comments

Popular posts from this blog

Redirected urls show in serp, with the original permalink but with the title and meta of the target page

How can I redirect everything but the index as 410?

How do I redirect traffic only if being accessed from a specific port?