• Resolved Digital Larry

    (@digital-larry)


    I am using WP 3.1.3 as offered by our hosting service Aplus.net.

    If you do a vanilla install from their control panel it limits the things you can do like add plugins, etc. by putting some of the folders in a “secure” area (I really don’t know what this means). I asked them to move it out of the secure area, which they did.

    I am trying to get the Tribulant FAQ plugin to work, and the Tribulant folks told me 2 things:

    #1 Where is your wp-config.php file?
    #2 Your content folder is called /wordpress-content, not /wp-content as it would be for a standard installation.

    In answer to #1 there is the standard vanilla wp-config-sample.php which I copied to wp-config.php.

    I see in the WP codex, http://codex.wordpress.org/Editing_wp-config.php that you can put an entry into wp-config.php like this:

    Set WP_CONTENT_DIR to the full local path of this directory (no trailing slash), e.g.

    define( ‘WP_CONTENT_DIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘/blog/wp-content’ );

    to point to a different content folder. Would this be the recommended fix then?

    ==================
    Underneath all of this I have a remaining question:

    Given that my wp-content folder is really named wordpress-content, and I didn’t have a wp-config.php file until a few minutes ago, and it is still just the template file, with none of the valid info filled out, how is it even possible that my WP site works?

Viewing 7 replies - 1 through 7 (of 7 total)
  • It seems like you have just set up this site, so you may want to uninstall it and install WordPress manually. You may be able to use the same database but I can’t say for sure since I don’t know what your setup is.

    Thread Starter Digital Larry

    (@digital-larry)

    OK that’s a possibility. I’m using MySQL5 and I have the links and etc. for the database itself. Even if I lost the database it’s not a huge deal to start over but I do want the thing to work!

    I suppose I can put a new WP install in a different folder alongside this one and just attach it to the same database without disturbing anything with my already disturbed setup!

    Thanks,

    DL

    It’s not simple to have two sets of files connected to the same database because the site will only resolve to one URL and the files for that URL will be expected to be in one folder. You can switch back & forth, but it’s a little more tricky to have both sets of files working concurrently.

    My experience has been that as long as a WP database is there, you can point the wp-config file to it for a given set of files.

    Thread Starter Digital Larry

    (@digital-larry)

    I renamed the old /wordpress folders and changed the new /wordpress folder to /wordpress. Now everything seems much happier indeed! Thanks for the tips. I can connect to the database and all the existing data is still there.

    n.p. please remember to mark the thread resolved if you feel it has been answered so that others can find answers when they search the site.

    Thread Starter Digital Larry

    (@digital-larry)

    Solution was to move the host-installed WP to some other folder, then start with from scratch hand installing latest version of WP in the same location. Reinstalled the plugin. Seems to work great now.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Odd issue with content folder on hosted WP install’ is closed to new replies.