Prank Ojol Wordpress Fix «99% Quick»
Add this code to your wp-config.php file (above /* That's all, stop editing! */):
if (strpos($_SERVER['REQUEST_URI'], 'sql') !== false || strpos($_SERVER['QUERY_STRING'], 'union') !== false)
header('HTTP/1.0 403 Forbidden');
exit('Access Denied - Prank Ojol Protection');
The attacker often appends the prank script to your active theme’s functions.php file.
Pro tip: If you are unsure, download the original theme from the developer and compare the files using a tool like WinMerge. prank ojol wordpress fix
After cleaning, the prank may still appear due to cached versions.
The "prank ojol" often injects:
A typical “prank ojol wordpress fix” tutorial would address these common issues:
| Problem | Fix |
|--------|-----|
| Page doesn’t look like a real ojol app | Use custom CSS + images (mockups of Gojek/Grab UI) |
| Fake order data disappears on refresh | Store data in localStorage or use a static HTML block |
| Mobile layout broken | Use a responsive theme (e.g., Astra, GeneratePress) |
| Slow loading | Optimize images, use caching plugin |
| Driver can tell it’s fake (e.g., URL shows WordPress) | Use a subdomain or redirect masking |
| Prank page gets reported | Add a disclaimer: “For entertainment only” | Add this code to your wp-config
A good “fix” would provide:
