Home › Forums › BulletProof Security Free › WordPress for Android Mobile App – unable to access website
Tagged: Android, Mobile App
- This topic has 17 replies, 3 voices, and was last updated 7 years ago by AITpro Admin.
-
AuthorPosts
-
AITpro AdminKeymaster
@ Mohamad – Try removing the extra backslash and dot as shown in the code below. Typically the first and second octets (92.96.) of an IP address will stay the same and the 3rd and 4th octets will change at regular intervals, but if this continues to be an ongoing issue/problem then you will need to delete this code or just allow POST Requests to the WP xmlrpc.php file by deleting this code – xmlrpc\.php|. These days the WP xmlrpc.php file has built-in protection so you really do not need this BPS Bonus Custom Code since originally this code was created to protect against a bug with the xmlrpc.php file that has now been fixed by WP.
# Jetpack XML-RPC DDoS & TRACKBACK/PINGBACK PROTECTION # You can whitelist your IP address if you use A Weblog Client # or want to whitelist an IP address for any other reasons. # Example: Add this line of code RewriteCond %{REMOTE_ADDR} ^(xxx\.xxx\.xxx\.xxx) [OR] # inbetween the first and second lines of code below. Then replace the x's with the # actual IP address you want to whitelist. # Note: It is recommended that you use 3 octets x.x.x. of your IP address # instead of 4 octets x.x.x.x of your IP address. # Example: RewriteCond %{REMOTE_ADDR} ^(xxx\.xxx\.xxx\.) [OR] RewriteCond %{REQUEST_URI} ^.*(xmlrpc\.php|wp-trackback\.php)$ RewriteCond %{HTTP_USER_AGENT} !^(.*Jetpack.*)$ RewriteCond %{REMOTE_ADDR} ^(31\.218\.) RewriteCond %{REMOTE_ADDR} ^(92\.96\.) RewriteRule ^(.*)$ - [F]
Mohamad HegazyParticipant# Jetpack XML-RPC DDoS & TRACKBACK/PINGBACK PROTECTION # You can whitelist your IP address if you use A Weblog Client # or want to whitelist an IP address for any other reasons. # Example: Add this line of code RewriteCond %{REMOTE_ADDR} ^(xxx\.xxx\.xxx\.xxx) [OR] # inbetween the first and second lines of code below. Then replace the x's with the # actual IP address you want to whitelist. # Note: It is recommended that you use 3 octets x.x.x. of your IP address # instead of 4 octets x.x.x.x of your IP address. # Example: RewriteCond %{REMOTE_ADDR} ^(xxx\.xxx\.xxx\.) [OR] RewriteCond %{REQUEST_URI} ^.*(wp-trackback\.php)$ RewriteCond %{HTTP_USER_AGENT} !^(.*Jetpack.*)$ RewriteRule ^(.*)$ - [F]
thank you so much for support and fast answer, i took your advice and made it like that and its working well
AITpro AdminKeymaster@ Mohamad – Great! Thanks for confirming that things are now working.
-
AuthorPosts
- You must be logged in to reply to this topic.