• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 380
  • Last Modified:

Cached search engine results with badware

One of my Joomla sites was discretely hacked which resulted in nasty redirects being inserted into my .htaccess file. All search engine results redirected to malware sites.

Since cleaning the installation, I've noticed cached SERP's still redirecting. Obviously this doesn't occur since I've cleared my browsers cache, but how can I be sure that other users aren't still being served the bad SERP's?
0
TonyCabone
Asked:
TonyCabone
  • 2
1 Solution
 
Ray PaseurCommented:
Just a guess, but how about adding a 301 "moved permanently" redirect to the right URLs?
0
 
TonyCaboneAuthor Commented:
The problem seems to be with bad URLs being cached on some browsers, is there any way to purge cached results without other users having to do it themselves?
0
 
Ray PaseurCommented:
If there are bad URLs cached on client machines (they are looking at cached results and are not visiting your server) there is nothing you can do.  However once they visit the server, the 301 redirect will be able to take them to the good URL locations.  Browser should observe a 301 header as a permanent change, and never revisit the bad URL.  Read paragraph 10.3.2 of the specification here:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now