WordPress.org

Support

Support » Installation » $table_prefix

$table_prefix

  • 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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Les Bessant

    @lesbessant

    keeper of the Tiggers

    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.

    GerritBakker

    @gerritbakker

    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

    You change ONLY the 'wp_' part… make it like
    ‘gerrit_’ or
    ‘bakker_’
    ‘whatever_’

    Resource: Installing_Multiple_Blogs#Single_Database

    GerritBakker

    @gerritbakker

    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

    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 🙂

    GerritBakker

    @gerritbakker

    Yep!

    Thanks for the information.

    Gerrit Bakker

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘$table_prefix’ is closed to new replies.
Skip to toolbar