Creating New Project Website

Hi, Whenever I want a start a new web project with wordpress,
do I need to create a new database for each website I make
under phpmyadmin?

Hi @csosa. You could use the same database as you have use for another WP site so long as you use a different prefix for the tables. However, it is not something I would recommend.

Have you looked into the WordPress multi-site feature? http://codex.wordpress.org/Create_A_Network. Each site uses the same database, but different tables - maybe what @Gandalf was referring to.

@WebMachine @Gandalf I see thanks.

Also, do I need to install wordpress everytime on my www directory for every
new project?

I think it depends on what kind of projects they are.

If they are for current WordPress versions, I would go multisite so I could update the version in one go.

If it were plugin code, or maybe template code, then having different versions installed separately could possibly help in finding breakage that needed to be fixed.

1 Like

obviously I would update the newest version inside the wp-admin right?

As long as you don’t have any hacked Core files that would be over-written, I think the ACP “auto updater” should work OK.

I had some issues with it a long time ago when it first became a feature, but it seems to work fine for quite a while now when ever I’ve used it.

I still prefer to “manual” update, but that’s only me.

I would recommend creating a new database and a new directory under www/public_html. The reason for this is:

  • Individual themes for each installation
  • Better control of plugins and updates of plugins
  • If one installation/theme is broken, the others aren’t affected
  • General organisation and troubleshooting will become much easier.
1 Like

That depends. Wordpress create a network of sites by using the multisite feature. If you want to use multi sites features, you can install it in a single database. But, when you’re working on different project having different functions, it better to use separate database.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.