the-installation-cannot-be-completed

“Install WordPress (2/3)

The installation can not be completed:

– You chose to install in the main directory of the domain mydomain.net, but there are conflicting filenames, therefore we can not proceed. Following filenames already exist in the main directory of the domain mydomain.net (path=”/home/admin/public_html/mydomain.net/”). You must manually remove these files before proceeding with auto-installation: wp-content

Click on the browser’s Back button to fix reported errors.”

Well, this happened to me. Every time I deleted they’d come back! This is how I fixed it:

What finally worked for me is to RENAME the folder wp-content to something different. I just added a bunch of random letters.

before: “wp-content”
after: “wp-contentsldfk”

I also had to rename the folders: “wp-admin” and “wp-includes”

Did a new install. Worked.

Not sure if it will work for you, but couldn’t hurt to give it a try

ALTERNATE OPTION (07/08/10):

Submitted by Gareth
Another way is to change the permissions of the files you are trying to delete. Regardless of how you are viewing your files….either by ftp software like Filezilla or through you hosting provider you can view all your files via ftp. Locate the files you want to delete, so in this case it is the wp_admin, content & includes files…….so individually click them and rename them as mentioned above, then on the control panel locate the change permissions button. Make sure all boxes are ticked so that the files are writeable etc etc etc…..save your changes then you can go back and try to delete…….

….and it should work…..it did for me.

34 thoughts on “Can’t delete wordpress folders to re-install?

  1. If you have important files uploaded, save them somewhere. What I did is deleted everything, and discovered which files kept coming back. They were the 3 folders I listed in the post, so I renamed them, then tried reinstalling wordpress with fantastico and it worked. It looks like your file index.php is the culprit so I would try to delete that and try installing again. Let me know if this helps. If not, send me an email to nickriebe@gmail.com and I’ll see what I can do

  2. HI,

    thanks for this post. I am having this problem right, now. However, it tells me there are conflicted name files, but don’t list them so, I do not know what to delete. Have you had any problems with this. Below is what it said. Thanks Rue

    The installation can not be completed:

    – You chose to install in the main directory of the domain clmvisuals.com, but there are conflicting filenames, therefore we can not proceed. Following filenames already exist in the main directory of the domain clmvisuals.com (path=”/home/clm/public_html/”).You must manually remove these files before proceeding with auto-installation:
    index.php

    Click on the browser’s Back button to fix reported errors.

  3. Thank you SO much. This was driving me nuts. It’s bad enough that I don’t want to press a button that can potentially affect several sites by mistake, but when you finally get brave enough to press delete and the suckers keep coming back, that’s just mind bending. All good now.

  4. OMG!!! You are a life saver!!!!! I was ready to throw my laptop out of the window and was getting so frustrated the whole day! Thank you so much. Nicholas!

  5. thank you so much you saved my day with this post. i was almost getting tired of the whole stubborn delete drama b4 i stumbld on ur post

  6. another way is to change the permissions of the files you are trying to delete. Regardless of how you are viewing your files….either by ftp software like Filezilla or through you hosting provider you can view all your files via ftp. Locate the files you want to delete, so in this case it is the wp_admin, content & includes files…….so individually click them and rename them as mentioned above, then on the control panel locate the change permissions button. Make sure all boxes are ticked so that the files are writeable etc etc etc…..save your changes then you can go back and try to delete…….

    ….and it should work…..it did for me.

    hope this helps guys

  7. any chance this procedure will change urls of other stuff making them no longer work – ie: AWeber landing or confirmation pages??

  8. Just droppin by to say nice one for that there info, massive help after spinning in circles for a while getting nowhere.

    At least now i can struggle again up that there learning curve of WordPress

    Had to say Thank You

    ~ Later ~

  9. I can’t get any sense out of WP, and to be honest I have no idea what I’m doing anyway! I have about 6 sites in WP and am afraid of deleting the wrong ones!
    I am using Fantastico thu C panel.

    – You chose to install in the main directory of the domain christmastoys4.us, but there are conflicting filenames, therefore we can not proceed. Following filenames already exist in the main directory of the domain christmastoys4.us (path=”/home/karen/public_html/”).You must manually remove these files before proceeding with auto-installation:
    wp-admin
    wp-content
    wp-includes
    fantversion.php
    index.php
    license.txt
    readme.html
    wp-activate.php
    wp-app.php
    wp-atom.php
    wp-blog-header.php
    wp-comments-post.php
    wp-commentsrss2.php
    wp-config-sample.php
    wp-config.php
    wp-cron.php
    wp-feed.php
    wp-links-opml.php
    wp-load.php
    wp-login.php
    wp-mail.php
    wp-pass.php
    wp-rdf.php
    wp-register.php
    wp-rss.php
    wp-rss2.php
    wp-settings.php
    wp-signup.php
    wp-trackback.php
    xmlrpc.php

    Click on the browser’s Back button to fix reported errors.

  10. Thanks so much for posting this!! Was driving me crazy – couldn’t figure out what to do!! Your solutions (change filename and change permissions) worked perfectly. I now have WordPress re-installed. THANKS HEAPS, YOU’RE A LEGEND!!! 😀

    • Not sure what you’re trying to do, but I would suggest trying to overwrite it if you have a newer version.

      If you’re trying to delete your blog, did you try it first within fantastico deluxe?

      Last, is there an error message or something when you try to change permissions? You’re trying to do it with the control panel, correct?

  11. hi nick thanks for the info was getting so frustrated.do you know anything about wptwindeploy.I have uploaded the files i need and they are sitting in the directory of worpress but when i hit the deploy files it just takes me to a quick install page of wordpress but it is already installed in the cpanel.If you can answer this one you would be helping a lot of people.

  12. Thanks – finally managed to do this. I had to use Legacy File Manager in Fantastico cpanel rather than the basic file manager (where I could not change the file names) and all I did was change permissions on each file (ticked all for user) and then deleted them.

    On re-installing wordpress it told me I had to also delete index.php file – I did so through Legacy file manager, and now wordpress has been re-installed.

    Thanks for your advice.

  13. Thanks for the permissions tip! That led me to experiment on what I was doing wrong. With me it was all about permissions.

    I thought that once I did all the check marks in the permission screen, that would give me permission to globally do the other wp folders in cpanel.

    I was able to delete the three folders I needed gone in the right panel by Highlighting all at one time, then clicked on the permissions icon to set the permissions on full just for those.

    They became deleted once I did that, and I was able to re-install WordPress through Fantastico.

  14. Nick, thank you so much, I was already figuring with this for 1 1/2 day in my weekend, and it made me mad. Then I finally found your solution…works like a charm, thanks again!!

  15. You are a genius! I’ve seen a thousand videos and tutorial, but none of them worked out. Your idea resolved everything!

    Thank you so much!

Leave a Reply

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