Home > Back-end >  Block Scrapping of my Website from Others | WordPress
Block Scrapping of my Website from Others | WordPress

Time:07-03

Is their any way to block Scrapping of content of my website via some refer protection.

I blocked all bots except google and some known via cloudflare. And disabled the rss.

However still other website easily scrapping content in just 1 minute of publishing my content. I tried to find sol. for this but couldn't. They even scrap each and every html, css, javascript which I am running.

I am thinking if it possible to load this <?php the_content(); ?> only when my domain matches something.

If anyone knows please help. Thanks in advance.

CodePudding user response:

You can't stop someone to download your public client side code on a public side.

Every page that i call up in the browser is already on my computer cache.

You can parse code even with a browser, create your own add-on without using wget, curl, etc..

So it's impossible to hide, even if you try with some js hacks.

You can only hide your server-side code.

Every operation on the server-side is hidden(on a normal way without bugs or something else) and the result you send to the client is public.

You can try doing thinks harder like try to encrypt your code with javascript or hide or what else.., or click this to load that with asynchronous javascript but on the end again you can't stop someone download your content.

You have to try understand how a browser and a protocol like http works. If you call a site you execute the client side code on your machine.

"What You See Is What You Get"

There is one big rule if you work with transactions like post, get, etc..

"NEVER TRUST THE DATA YOU RECEIVE"

That's why we try to use cookies, sessions, etc, because you never know who is on the other side.

  • Related