WordPress.org

Ready to get started?Download WordPress

Forums

What happens if I rename a plugin? (15 posts)

  1. Ste_95
    Member
    Posted 2 years ago #

    Hi everybody, I hope I have picked the right section.

    I'd like to change the name of one of my plugins but I'm a little afraid about the permalink change. So the question is: if I change the plugin's name with a readme.txt update, does the plugin permalink in the wordpress directory change or not?

    Thanks.

  2. Jorge
    Member
    Posted 2 years ago #

    If you're not on a production installation, try it out and find out. If the plugin is active, the worst that would happen is that it will deactivate and you'd have to reactivate it via the Dashboard.

    There's a bunch of times where I'll purposefully "break" a plugin to better understand it. I do it on a development WP install and don't even mess with production sites if I'm not 100% sure it will work.

    If you are on a production installation, I suggest installing a local host server on your computer using a program like XAMPP and installing WordPress locally. Then you can run crazy experiments.

  3. Ste_95
    Member
    Posted 2 years ago #

    I fear I didn't explain what I meant, my question was about the WordPress Plugin Directory. The current plugin's URL is wordpress.org/extend/plugins/monthly-post-counter/ : if I change the plugin's name with a readme.txt update, will that URL change?

  4. Anders
    Member
    Posted 2 years ago #

    It completely depends on how the plugin is coded. If it's done well, it well (or is very simple) it'll work. Most complex plugins, even if they are done well, will most likely break - the first thing I would image to go would be JS files on the front-end.

  5. Ste_95
    Member
    Posted 2 years ago #

    No, ok, step back.

    My plugin's URL is http://wordpress.org/extend/plugins/monthly-post-counter/ . This is the current URL, if you want to download the plugin, you just clic on it and push the download button from the wordpress directory. There are some websites which have reviewed the plugin and put a link to that URL in their pages.

    Now, I wanna change the plugin's name: what do I do? I push an update of the related readme.txt file included in the plugin's directory so that the name displayed in the plugin's page will change. Say that from the current 'Monthly Post Counter', it will become 'Post Pay Counter'. The fact is I don't wanna lose all the incoming links to the current URL http://wordpress.org/extend/plugins/monthly-post-counter/ . So, after the name change, will the URL look like the current one, or become something like http://wordpress.org/extend/plugins/post-pay-counter/ ?

    Hope is clear now, thanks guys :)

  6. MickeyRoush
    Member
    Posted 2 years ago #

    @ ste_95

    I'm not sure if anyone is sure about what you're trying to do. It sounds like you're trying to obscure the url so that spammers, etc. won't link to your site.

    Even if you change the url robots will still crawl those urls unless you prohibit them.

    I don't believe this can be achieved with editing the plugin's readme.txt file. You can probably just delete that file as most plugins don't require them to function properly. In fact I recommend removing all readme.txt files everywhere as they are used to fingerprint (phishing) websites.

    If you want to change the url it would probably be best done with RewriteRule via htaccess.

  7. digibucc
    Member
    Posted 2 years ago #

    it sounds like he wants to change the plugin name but not lose the existing links.

    i would say ask wordpress, they can probably set it to forward. if not, create a second plugin and submit it under the new name. otherwise all you can really do is try, and that's risky.

    idk how many actual plugin devs peruse this subforum, so idk how long until one that knows your answer shows up.

  8. No you cannot change the plugin's URL slug in the repo.

  9. Ste_95
    Member
    Posted 2 years ago #

    God someone finally got it right. Thanks to digibucc for having understood and to Andrea_r for having answered.

  10. MickeyRoush
    Member
    Posted 2 years ago #

    it sounds like he wants to change the plugin name but not lose the existing links.

    Why change the plugin name? For what purpose would this accomplish?

  11. digibucc
    Member
    Posted 2 years ago #

    if he doesn't like it? if it doesn't describe the plugin properly,any number of reasons.

    what purpose does questioning why he wants to accomplish?

  12. Ste_95
    Member
    Posted 2 years ago #

    if it doesn't describe the plugin properly,any number of reasons.

    That's precisely the reason - there's something the plugin is doing differently, thus the name should reflect that change.

  13. MickeyRoush
    Member
    Posted 2 years ago #

    if he doesn't like it? if it doesn't describe the plugin properly,any number of reasons.

    what purpose does questioning why he wants to accomplish?

    Because there may be a better way to achieve what the OP is desiring.

  14. digibucc
    Member
    Posted 2 years ago #

    fair enough, there may be, but in this case he was pretty explicit, so whatever the reason i assumed he was sure this was the course of action he was trying to follow.

    and my comment was more directed at your tone than at the principle of the matter. you sounded as though were being snarky when he was simply asking a question, there was no need for it. if that wasn't the case, i do apologize.

  15. Ste_95
    Member
    Posted 2 years ago #

    @ MickeyRoush
    I've decided to release the plugin as a new plugin, but I'm interested in knowing what this better way would be.

    @ cyclonecc
    Not really useful...

Topic Closed

This topic has been closed to new replies.

About this Topic