• Resolved martonic

    (@martonic)


    Help please – our installation is confused about where to update its plugins.

    We first installed WordPress in a subdirectory and then we moved it to the root by following the instructions here

    http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site

    (and we ran the search and replace php script).

    So now, the plugins our installation uses are in the directory

    www/wp-content/plugins

    and those plugins work fine. If we manually upload a plugin to that directory, WordPress detects it, we can activate it, and it works normally.

    However, when it comes time to update, delete, or automatically install a plugin, our installation operates on the old directory:

    www/wp/wp-content/plugins

    I would like to fix this.

    Can anyone tell me where, in the database, is the information that tells WordPress where to operate on the installed plugins? This seems to be different than the information that tells it from where to LOAD the installed plugins. I would call this a BUG – but meanwhile, would like to find a way to correct this problem.

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter martonic

    (@martonic)

    The necessity was to have the files available in a new location. I kept the old ones “just in case”. As it turns out, IIRC the first time I could not get into the admin site at sitename/admin, I had to use sitename/wp/admin – so if I had deleted (“moved”) those files, I would have been SOL. However, the existence of files that are not referenced should mean nothing. WP had been told to look for them in a new location. Why should it matter if they are also present in an old location, or a dozen other locations that WP has been told NOT to use? It should not matter at all. If you are saying that was a mistake, and it led to the current behavior, for which there is still no explanation in sight, I would like to see some justification for that opinion. I still don’t see why WP should be attempting to update files in a location that is not referenced either in the database, or in any of the configuration files – or how it can know where the files are for the purpose of READING them, but not for the purpose of WRITING them. That makes no sense – so it must be incorrect, and a reference to that directory must still exist somewhere in the working image. However, the mere EXISTENCE of an old directory should have no effect whatsoever. If this is wrong, please explain how it can be wrong. Thanks for your help!

    Thread Starter martonic

    (@martonic)

    SOLVED

    There is NOTHING in the WordPress database nor configuration that tells WP where to install/update themes or plugins!

    It is entirely controlled by the default access for the FTP ACCOUNT that is used for this purpose.

    I simply needed to update the FTP credentials so that an account would be used that defaults to the correct location (now the root).

Viewing 2 replies - 16 through 17 (of 17 total)

The topic ‘Installation confused about plugin location’ is closed to new replies.