WordPress.org

Ready to get started?Download WordPress

Forums

$table_prefix (7 posts)

  1. ajayrohera
    Member
    Posted 6 years ago #

    I am new to word press and want to know if my site uses single installation, how should I code "$table_prefix = 'wp_'"??? Should it reamin as is or do I have to mention something???

    Also, will be thankful to you if you can let me know how to code "define ('WPLANG', '')" if my site uses only english language.

    Many thanks.

  2. You can leave the prefix as it is. There's no need to change it for a single installation.

    And you don't need to add anything to WPLANG if you're using English.

  3. GerritBakker
    Member
    Posted 6 years ago #

    i like to install more instances of WordPress, so i need to change the $table_prefix = 'wp_'. is there any clear information (with examples) when i want to install 2 different weblogs.

    Thanks in advanced!

    Gerrit Bakker

  4. moshu
    Member
    Posted 6 years ago #

    You change ONLY the 'wp_' part... make it like
    'gerrit_' or
    'bakker_'
    'whatever_'

    Resource: Installing_Multiple_Blogs#Single_Database

  5. GerritBakker
    Member
    Posted 6 years ago #

    Another question about this subject;

    What if a can use more than 1 database like, 3 weblog and per weblog 1 database. I think that i do not need to work with the $table_prefex right?

    Thanks in advanced.

    Gerrit Bakker

  6. moshu
    Member
    Posted 6 years ago #

    If you have 3 databases and you plan 3 blogs - then you don't need to change the prefix, just use one DB for each. However, you will have to change the DB_NAME part in the config files :)

  7. GerritBakker
    Member
    Posted 6 years ago #

    Yep!

    Thanks for the information.

    Gerrit Bakker

Topic Closed

This topic has been closed to new replies.

About this Topic