How do I locate the wp-config.php file? (16 posts)

  1. Snoofle
    Posted 3 years ago #

    I'm having the same problem that others have reported:

    WordPress 3.5 add new media is not working, so it's impossible now to add a new file when I want to post a new post or page.

    From other threads I've found this solution:
    Add: define('CONCATENATE_SCRIPTS', false ); in your wp-config.php file just before require_once(ABSPATH . 'wp-settings.php');

    I'm new at this and don't know how to locate that file. Any help would be appreciated.

  2. leejosepho
    Posted 3 years ago #

    I think you will find it in public_html, but I know nothing about the tweak you have in mind.

  3. Bill
    Posted 3 years ago #

    Yes, by default it is located in the directory that also contains wp-content and wp-admin. Your web host may call it something other than public_html though, or it may be installed in a sub-directory.

  4. Snoofle
    Posted 3 years ago #

    Thanks, but I have no idea how to access any directories. My dashboard lists the following headings:
    Track that Stat

  5. WPyogi
    Forum Moderator
    Posted 3 years ago #

    You'll need to be able to access your site files via FTP or your host's file management system to make changes to that file. See http://codex.wordpress.org/FTP_Clients

  6. Bill
    Posted 3 years ago #

    Directories are locations on your server space at your web host. You can access them using FTP software or through your hosting control panel software such as cPanel (at your hosting account).

    Make sure to make a copy before making any changes to this config file or you can kill your site.

    (edit: sorry WPYogi, I didn't refresh recently and your reply wasn't visible before I posted. Yeah, what yogi said.)

  7. WPyogi
    Forum Moderator
    Posted 3 years ago #

    Hey, no problem - yours was better anyway :).

  8. Snoofle
    Posted 3 years ago #

    Thanks, I'm getting closer...

    My web host is DreamHost.
    It lists the following tools:
    Manage Account
    Manage Domains
    Manage Email
    Manage Users
    MySQL Databases
    One-Click Installs

    and the following Domains:
    Manage Domains
    Reg. Tranfer
    Secure Hosting
    Remap Sub-Dir
    Anonymous FTP
    Mongrel and Proxy

    Thanks--I did back up my account.

  9. WPyogi
    Forum Moderator
    Posted 3 years ago #

    Here's the DreamHost info for using FTP:

  10. Snoofle
    Posted 3 years ago #

    Thank you, but I still don't understand how to access files. I just won't post any photos for now and wait for the next so-called upgrade. Half the time any internet system is "upgraded" it seems to make things worse.

  11. WPyogi
    Forum Moderator
    Posted 3 years ago #

    It's actually not likely that an upgrade of WP will fix this issue - have you gone through the troubleshooting steps of deactivating all your plugins and switching to a default theme? That's the best place to start with trying to find the problem.

  12. Mika Epstein
    DreamHost Rep
    Posted 3 years ago #

    Snoofle, since you're on DreamHost you generally don't need to use the concatenate scripts fix anymore (we fixed that on our servers).

    What's your domain? I can take a look for you and see if this is an easy fix.

  13. Snoofle
    Posted 3 years ago #

    Thanks. It's MichaelSussmanBooks.com

  14. Mika Epstein
    DreamHost Rep
    Posted 3 years ago #

    There's nothing in the basic config that should be doing that, so I gave your server a kick just in case.

    A couple things of note: You have a handful of out of date plugins. It's possible one of them is at fault here.

    Also you have a lot of unused themes that can be deleted :) Generally deleting everything except the theme you're using (Koi) and the Twenty* themes is a good idea.

  15. Snoofle
    Posted 3 years ago #

    Thanks. I previously tried deactivating all the plugins, but that didn't do the trick. I just deleted all of the unused themes, but still no go.

  16. Mika Epstein
    DreamHost Rep
    Posted 3 years ago #

    Two things to test:

    1) turn off pagespeed on your domain. If it IS that, we can check your apache instance and make sure the pagespeed patch was applied.

    2) Test with the default theme (twentyTwelve) to make sure it's not a change you made to your theme.

    If you want to open a ticket with DreamHost, and provide a username and password, we can have someone take a look for you.

Topic Closed

This topic has been closed to new replies.

About this Topic