WordPress.org

Forums

Does .htaccess should look like this? (7 posts)

  1. steelyhead
    Member
    Posted 2 years ago #

    My sites are marked as malware on Google. .httaccess reads like this on cPanel <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_REFERER} ^.*(google|ask|yahoo|baidu|youtube|wikipedia|qq|excite|altavista|msn|netscape|aol|hotbot|goto|infoseek|mamma|alltheweb|lycos|search|metacrawler|bing|dogpile|facebook|twitter|blog|live|myspace|linkedin|flickr|nigma|liveinternet|vkontakte|webalta|filesearch|yell|openstat|metabot|nol9|zoneru|km|gigablast|entireweb|amfibi|dmoz|yippy|search|walhello|webcrawler|jayde|findwhat|teoma|euroseek|wisenut|about|thunderstone|ixquick|terra|lookle|metaeureka|searchspot|slider|topseven|allthesites|libero|clickey|galaxy|brainysearch|pocketflier|verygoodsearch|bellnet|freenet|fireball|flemiro|suchbot|acoon|cyber-content|devaro|fastbot|netzindex|abacho|allesklar|suchnase|schnellsuche|sharelook|sucharchiv|suchbiene|suchmaschine|web-archiv|infospace)\.(.*)
    RewriteCond %{HTTP_REFERER} ^.*(web|websuche|witch|wolong|oekoportal|t-online|freenet|arcor|alexana|tiscali|kataweb|orange|voila|sfr|startpagina|kpnvandaag|ilse|wanadoo|telfort|hispavista|passagen|spray|eniro|telia|bluewin|sympatico|nlsearch|atsearch|klammeraffe|sharelook|suchknecht|ebay|abizdirectory|alltheuk|bhanvad|daffodil|click4choice|exalead|findelio|gasta|gimpsy|globalsearchdirectory|hotfrog|jobrapido|kingdomseek|mojeek|searchers|simplyhired|splut|the-arena|thisisouryear|ukkey|uwe|friendsreunited|jaan|qp|rtl|search-belgium|apollo7|bricabrac|findloo|kobala|limier|express|bestireland|browseireland|finditireland|iesearch|ireland-information|kompass|startsiden|confex|finnalle|gulesider|keyweb|finnfirma|kvasir|savio|sol|startsiden|allpages|america|botw|chapu|claymont|clickz|clush|ehow|findhow|icq|goo|westaustraliaonline)\.(.*)
    </IfModule>

    Do I just erased and leave It blank? or should I write something else in It? sorry I am a newbie.

  2. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    Please go through this:
    Using_Permalinks

  3. govpatel
    Member
    Posted 2 years ago #

    That is not part of .htaccess file for wordpress looks like you have been hacked

    http://codex.wordpress.org/FAQ_My_site_was_hacked

  4. cjchamberland
    Member
    Posted 2 years ago #

    I would recommend wiping the file, then setting the permissions to 444 so that it's read only until you can locate what is allowing attackers to modify the file.

  5. steelyhead
    Member
    Posted 2 years ago #

    Thanks, I just found and old version (two weeks ago) of this file and I just replaced It on cPanel. It worked dandy.

  6. kmessinger
    Forum Moderator
    Posted 2 years ago #

  7. steelyhead
    Member
    Posted 2 years ago #

    my host (vps.net) has been helping me. I am changing passwords.

Topic Closed

This topic has been closed to new replies.

About this Topic