WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Cant find wp-config.php (16 posts)

  1. bloggmorsorna
    Member
    Posted 2 years ago #

    I cant find the wp-config.php file in my ftp agent.
    I know it should be found in the wp-catalogue but there are
    public_html in which i can find:
    wp-admin
    wp-content
    wp-includes

    But in which one of these is the wp-config.php file to be found?
    I looked through them all according to myself... without result.

    (I am using FileZilla as ftp program)

    Thankful for help!

  2. Axel13
    Member
    Posted 2 years ago #

    This should be in your root (= public_html), or in the folder where you installed WordPress.

  3. Axel13
    Member
    Posted 2 years ago #

    If it's a fresh install, it's name could still be wp-config-sample.php. You should rename it, but I doubt you could have installed WP without renaming this before.

  4. bloggmorsorna
    Member
    Posted 2 years ago #

    Great I found it!
    Many thanks, i´m really bad in this but learning.
    Now, i can´t find the .htaccess file thats supposed to be in public.html - can that be, that it´s missing?

    You see, i changed what i had to chande in wp-config but now i can´t find this one... :(

    Impossible.

  5. Axel13
    Member
    Posted 2 years ago #

    yups, this one can be missing. In fact, it's almost always missing. You can create one with a text editor with this content:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Or with the new content as mentionned at the WPMU installation.

  6. Axel13
    Member
    Posted 2 years ago #

    in case you cannot save it as .htaccess, give it an other name and rename it in your FTP after uploading to your site.

  7. bloggmorsorna
    Member
    Posted 2 years ago #

    So I could add this in a normal wordpad document for example and then upload it in my ftp-agent to public_html?

    And that should be it? :)

  8. bloggmorsorna
    Member
    Posted 2 years ago #

    And as what kind of document do i save it in that case?

    rtf, xml, txt, unicode-text-document....???

  9. Axel13
    Member
    Posted 2 years ago #

    It won't work with Wordpad, because this adds extra code, you'll need to use Notepad - http://en.wikipedia.org/wiki/Notepad_(software)

    If you would not have that, or smth alike, I'd recommend EditPad Lite. http://www.editpadlite.com/

  10. Axel13
    Member
    Posted 2 years ago #

    ha, sorry didn't see last question.
    the name is '.htaccess', so it has no name, only an extension.

  11. bloggmorsorna
    Member
    Posted 2 years ago #

    Okey, thanks, downloading it right now.

    But I changed my wd-config in wordpad.... my support said i could...

    Will that be a problem?

    And in what kind of document do i save?

  12. bloggmorsorna
    Member
    Posted 2 years ago #

    Okey!!!

  13. Axel13
    Member
    Posted 2 years ago #

    if you make a new document with Notepad, you'll can save it as '1.htaccess' and delete the '1' after uploading in your ftp program

  14. Axel13
    Member
    Posted 2 years ago #

    I think editing wp-config in Wordpad will give problems indeed... Perhaps open it in editpad to see if code was entered.

  15. bloggmorsorna
    Member
    Posted 2 years ago #

    OOOOh!!

    Thanks it´s working.

    I´ll sure be back in a few seconds while starting to setup the blogs on my new site :)

    Thanks!! I really appreciate it.

  16. Axel13
    Member
    Posted 2 years ago #

    Y'r welcome:) GL with it!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.