uploading plugin creates directory in wrong location
-
Background: I initially had WordPress installed in my /blog directory. I then moved it to root, deleted the actual /blog directory, and configured the installation so root displays a static page and /blog is where the actual blog is found.
Now, whenever I upload and install a plugin to WordPress, the directory “/blog/wp-content/uploads” gets created in the site root, which of course screws up the setup described above (the blog does not show at /blog I assume because WordPress expects to handle requests to /blog dynamically but gets screwed up by the fact that the /blog directory now exists). The fix for this is to go and delete /blog and all its contents.
I assume this is an artifact of me moving the blog from /blog to root and forgetting a step or something. Is there some way I can correct this? Otherwise the site is working fine. I found a setting in the wp_settings table called upload_path that I changed from “/root/blog/wp-content/uploads” to “/root/wp-content/uploads” but this does not seem to have fixed the issue.
- The topic ‘uploading plugin creates directory in wrong location’ is closed to new replies.