Solved

Cached search engine results with badware

Posted on 2012-04-08
3
357 Views
Last Modified: 2012-04-09
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
Comment
Question by:TonyCabone
  • 2
3 Comments
 
LVL 108

Expert Comment

by:Ray Paseur
Comment Utility
Just a guess, but how about adding a 301 "moved permanently" redirect to the right URLs?
0
 

Author Comment

by:TonyCabone
Comment Utility
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
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 450 total points
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Read about how to approach blogging and about ways to do it right. Stand out from the crowd and let your knowledge be consumed by a large audience. This article aims to explain how your blog should look like,  the most important things to do while b…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now