• 1. Please How can I protect my WordPress website, theme or plugin from being installed in more than one specified domain. `

    2. How can I protect my WordPress website from being moved to another domain or hosting, I am looking at any code that i can add to the function.php or anywhere inside the website that will stop migration plugins such as duplicator, buddybackup and updraft from moving the site to a new domain, any time the site is moved to a new domain it must fail or redirect to old domains.

Viewing 15 replies - 1 through 15 (of 15 total)
  • What you’re asing is most likely not technically possible. And even if it was, when the site is copied, it’s trivial to remove that bit of code anyway.

    What exactly are you worried about being copied? The entire site (files and database), content, images, other??

    Thread Starter pandglobal

    (@pandglobal)

    I am worried about
    1. Reinstalling or using my plugin in more than one website

    How are people going to get access to your plugins code to copy it?

    Thread Starter pandglobal

    (@pandglobal)

    And i am worried about the entire site being copied, but i know if a part of the site is protected the migration process will fail, example if I protect the files and database from being migrated or duplicated or moved to another domain then the entire process will fail.
    I know nothing is secured but can i at least try something to protect it?

    Thread Starter pandglobal

    (@pandglobal)

    As a developer you can sell your plugin or give your plugin to a client to use on one domain but the client goes on installing and using it on multiple domains, how do I prevent this

    How is someone going to get access to your site to copy the files? Or to migrate them? If someone has enough access to your server to copy your sites files, youve got bigger problems then anything that can be fixed with a bit of code.

    As a note, for what you’re asking, someone would jsut copy the files, and that doesn’t have anything to do with any of the code in WordPresss, your plugin, or anything else. You just need a secure account on your server, as nothing else will work.

    OK, hang on… Are you talking about osmeone licecning your plugin for only one site at a time, and having to pay for a new license of they move/copy it???? If that’s the case, I’m sorry that I missunderstood, but that part wasn’t clear before.

    To be honest, you can set up something like this. But… Your plugins code is open-source, so if someone really wants it, they’ll just edit your plugins code to remove the part about licence keys.

    The best thing that you can do is sell plugins the wya that Woo, and alot of other places, do it. Don’t sell the plugin as such, but sell access to updates and support. That way your plugin can be used, but you’ll be able to manage updates and only give support to paid subscribers.

    Thread Starter pandglobal

    (@pandglobal)

    The person is a client i work for, and build the site and gave him the cpanel and administrative login, but I don’t want him duplicating the site into many domains

    Unless you’re going to set up the update API as I mentioned aove, you can’t.

    There’s things that you can add in, like blocking execution if the domain name doesn’t match, but as I said, anyone with a small bit of PHP experience can edit out those bits of code anyway.

    So, no. You cannot stop someone from copying your plugins code in your case. You will have to trust your client, or set up a bullet-proof contract allowing them a single use of the plugin on a single site.

    Thread Starter pandglobal

    (@pandglobal)

    Yes I am not just looking at the plug-in alone, am looking at stopping migration, i have worked with migration alot but the only plugin that stops migration though not deliberately is wordfence, bcs it adds some codes at the .httaccass which makes migration process fail, but it is not consistent

    Same deal. If they have access to the code, they can copy it. There’s nothing that you can do to stop that.

    Thread Starter pandglobal

    (@pandglobal)

    Can I have the codes to add first let alone the person edits it out

    I don’t think that you understand. There is no code for that. There is no way for you to actually do this. And really, anything that you do is going ot be up to you to decide on how far you want to go to try and block it.

    Personally, I don’t bother with anything like that because it’s hours of work for no reward. I’d prefer to work with clients that I can trust, or at least ones that will accept a proper contract. You really should do the same because that’s the only way that you’ll stop anything.

    Thread Starter pandglobal

    (@pandglobal)

    Ok thanks for your efforts

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You cannot. You gave the site to your clients. It’s theirs. If you have issues about who owns the work product, please consult an attorney.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘WordPress duplication and Migration protection’ is closed to new replies.