Prevent external requests for your WordPress blog

When you run the wordpress blog there must be many external links would be created by others. which are not good for your blog. Some sites may be only using your wordpress images by your images links.

For prevent the external request for your wordpress blog you need to use simple trick. WordPress api is given this facility to prevent the external request.

To do so, open your wp-config.php file and copy paste the following code:

define('WP_HTTP_BLOCK_EXTERNAL', true);

It will block external requests from that time on. Though, some plugins need external request to work properly. If you experience problems, you can define a whitelist by pasting the code below into wp-config.php. Don’t forget to replace my url by the one needed by the plugin.

define('WP_ACCESSIBLE_HOSTS', 'wordpressapi.com');

if you are still having any issue then please contact to me.

You may like following Articles!

29 thoughts on “Prevent external requests for your WordPress blog

  1. Pingback: Tweets that mention Prevent external requests for your WordPress blog | Wordpress API -- Topsy.com

  2. Insightful how you feel with regards to Prevent external requests for your WordPress blog | WordPress API. brbr The one thing which i may possibly imagine is whenever you’ll apply it that way you’ll have geared up to handle the effort. brbr Not that this is going to be normal because individuals are terribly slack in recent times.

  3. Hello there I begin an accomplished web-site while analytic for assorted strategies and accident weight, I accept to let you apperceive your websites are in fact absorbing and that i like this topic. I in fact dont acquire a amazing bulk of your activity in adjustment to apprentice your absolute blogposts although Concerning assets apparent it as able-bodied if agreed to a person’s RSS feeds. Anon we will be in a abbreviate while. acclaim for the top cleft internet site.

  4. Thank you for an additional important write-up. Exactly where else could everyone get that form of information in this kind of a full way of writing? I’ve a presentation incoming week, and I’m around the lookout for these info.

  5. wonderful post, very informative. I wonder why the other experts of this sector don’t notice this. You must continue your writing. I am confident, you have a huge readers’ base already!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>