How to Steal WordPress Content & How to Protect It – WordPress Security

This is the most important WordPress training for any content creator. I will show you how people are stealing your paid content and how to fix the problem.
by Adam @ WPCrafter   |   Last Updated: July 28, 2019
Share on facebook
Share on twitter
Share on linkedin
Share on pinterest
Share on email

I am dubbing this “Content Hacking” because its not about accessing your WordPress admin area, it's about accessing your paid content without paying for it.

The really sad part is that most content creators don't even know this is happening, but it is.

The reason it is happening so much is because it is SO EASY to do.

In this video I show you how to protect yourself. It mainly involves adding a custom function to your WordPress theme's functions.php file. The fix is so simple that anyone can do it, however if you don't feel comfortable doing it yourself, the folks at InfusionPage can do it for you.

Exclude Posts or Pages from Search Results

function SearchFilter($query) {
    if ($query->is_search) {
        $query->set('cat','0,1');
    }
    return $query;
}

add_filter('pre_get_posts','SearchFilter');

Disable WordPress Search

function fb_filter_query( $query, $error = true ) {

if ( is_search() ) {
$query->is_search = false;
$query->query_vars[s] = false;
$query->query[s] = false;

// to error
if ( $error == true )
$query->is_404 = true;
}
}

add_action( 'parse_query', 'fb_filter_query' );
add_filter( 'get_search_form', create_function( '$a', "return null;" ) );

Conclusion

Let me just clarify that I don't condone hacking in any way. This post is not meant to teach people how to steal anyones content, its intention is to show content creators how to protect the content they create.

Video Transcript

How to Steal WordPress Content & How to Protect It – WordPress Security

Adam @ WPCrafter

Adam @ WPCrafter

My passion is making the best quality video tutorial online, for non-techies. When I am not behind the camera, I am usually helping out one of my YouTube subscribers.

4 thoughts on “How to Steal WordPress Content & How to Protect It – WordPress Security”

  1. S
    Sarkari Naukri

    You are right. It seems that someone is stealing my content. Really helpful video. Thank you

Leave a Comment

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