Greenguy's Board


Go Back   Greenguy's Board > Blogs and Blogging
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2007-03-01, 05:12 AM   #1
DennisJ
If something goes wrong at the plant, blame the guy who can't speak English
 
Join Date: Oct 2005
Posts: 35
can i have more than one wordpress on a site?

can i have more than one wordpress on a site?

whats the best way to do this?
__________________
porn blog
DennisJ is offline   Reply With Quote
Old 2007-03-01, 06:55 AM   #2
twn
Shut up brain, or I'll stab you with a Q-tip!
 
twn's Avatar
 
Join Date: Dec 2005
Posts: 118
Hi DennisJ,
Yes, you can have one or more wordpress on a site, you just install a second/third wordpress in a subdirectory, for example mydomain.com/mysecondblog/ . And with a little extra work you can configure your server that this subdirectory is reachable with a subdomain like: mysecondblog.mydomain.com . Or you can try installing wordpress mu, which allows multiple wordpress blogs.
__________________

* Blog Submitter * Free WordPress
twn is offline   Reply With Quote
Old 2007-03-01, 07:41 AM   #3
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
In fact you can not only have more than one install of WP as twn described but you can have them share the same database by changing this line in wp-config.php

Code:
$table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote
Old 2007-03-01, 08:32 AM   #4
jayeff
Just because I don't care doesn't mean I don't understand!
 
jayeff's Avatar
 
Join Date: Sep 2006
Posts: 95
Send a message via ICQ to jayeff
Quote:
Originally Posted by walrus View Post
you can have them share the same database...
The snag being if that database gets mangled, none of your blogs will work: something which would usually only happen with more widespread server/SQLserver issues.
jayeff is offline   Reply With Quote
Old 2007-03-01, 09:27 AM   #5
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
Quote:
Originally Posted by jayeff View Post
The snag being if that database gets mangled, none of your blogs will work: something which would usually only happen with more widespread server/SQLserver issues.
If you run a business there are certain things you need to do to maintain that business and keep it safe. In the brick and mortar world, you sweep the floors, take out the trash, lock the doors and set the alarms. If your running a web business, you backup your sites on a regular basis, which includes your databases so that if / when an emergency happens you are in a position to pickup the pieces.

Of course I had to learn this the hard way by losing a couple databases. Except according to your theory, that probably shouldn't have happened because I was only running one blog per database. Since then, by doing proper maintenance and keeping daily backups, I haven't lost a thing and it has been over a year and I'm much more active than I was then.
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote
Old 2007-03-01, 09:40 AM   #6
jayeff
Just because I don't care doesn't mean I don't understand!
 
jayeff's Avatar
 
Join Date: Sep 2006
Posts: 95
Send a message via ICQ to jayeff
Quote:
Originally Posted by walrus View Post
Of course I had to learn this the hard way by losing a couple databases. Except according to your theory, that probably shouldn't have happened because I was only running one blog per database.
I'm not sure why such a prickly response...

If one is offering advice or suggestions, isn't it reasonable to point out the pro's and con's of the various options, so that people can make informed choices? In any case, what does my observation have to do with the sense of regular maintenance? Or vice versa...

You pointed out that a single database is possible for multiple sites. I pointed out a potential drawback. Not exactly the stuff of drama.
jayeff is offline   Reply With Quote
Old 2007-03-01, 12:36 PM   #7
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
I didn't think I was necessarily being prickly nor creating drama, I simply stated why I believe your con was invalid.
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote
Old 2007-03-01, 04:33 PM   #8
DennisJ
If something goes wrong at the plant, blame the guy who can't speak English
 
Join Date: Oct 2005
Posts: 35
Quote:
Originally Posted by twn View Post
Hi DennisJ,
Yes, you can have one or more wordpress on a site, you just install a second/third wordpress in a subdirectory, for example mydomain.com/mysecondblog/ . And with a little extra work you can configure your server that this subdirectory is reachable with a subdomain like: mysecondblog.mydomain.com . Or you can try installing wordpress mu, which allows multiple wordpress blogs.
out of the 3 options above which one is better?
__________________
porn blog
DennisJ is offline   Reply With Quote
Old 2007-03-01, 04:38 PM   #9
DennisJ
If something goes wrong at the plant, blame the guy who can't speak English
 
Join Date: Oct 2005
Posts: 35
Quote:
Originally Posted by walrus View Post
In fact you can not only have more than one install of WP as twn described but you can have them share the same database by changing this line in wp-config.php

Code:
$table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!
mm can you give an example of the line changed, u mean i just change the 'wp_' with the name of the main database im using rite?
__________________
porn blog
DennisJ is offline   Reply With Quote
Old 2007-03-01, 04:50 PM   #10
DennisJ
If something goes wrong at the plant, blame the guy who can't speak English
 
Join Date: Oct 2005
Posts: 35
Quote:
Originally Posted by jayeff View Post
The snag being if that database gets mangled, none of your blogs will work: something which would usually only happen with more widespread server/SQLserver issues.
you mean as if i lost the database? or does the sharing database create some conflicts on the blogs? or does sharing it mess up the whole database?
__________________
porn blog
DennisJ is offline   Reply With Quote
Old 2007-03-01, 07:05 PM   #11
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
Quote:
Originally Posted by DennisJ View Post
mm can you give an example of the line changed, u mean i just change the 'wp_' with the name of the main database im using rite?
Lets say you have a amateur blog you could change 'wp_' to 'am_'. I will build a blog on the root of my domain and use the 'wp_" and then any blogs I create in subdirectories I change the first two initials to something that would relate to that blog.
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote
Old 2007-03-01, 07:09 PM   #12
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
Quote:
Originally Posted by DennisJ View Post
you mean as if i lost the database? or does the sharing database create some conflicts on the blogs? or does sharing it mess up the whole database?
Damn, I forgot to use the nifty little multi-quote feature. Anyway he means that is something were to happen to the database itself it would affect all the blogs tied to that database.

Sharing the database does not create conflicts and sharing does not mess it up. His stance is that the more you access the database, the greater the chance of some type of corruption.
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote
Old 2007-03-02, 03:49 AM   #13
DennisJ
If something goes wrong at the plant, blame the guy who can't speak English
 
Join Date: Oct 2005
Posts: 35
Quote:
Originally Posted by DennisJ View Post
out of the 3 options above which one is better?
Walrus can you answer this one?

also what does that line on the config does exactly? , i guess the line is just for creating a table inside the database, so i just type the same database name while installing the WP instances rite?
__________________
porn blog
DennisJ is offline   Reply With Quote
Old 2007-03-02, 10:13 AM   #14
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
Quote:
Originally Posted by DennisJ View Post
Walrus can you answer this one?

also what does that line on the config does exactly? , i guess the line is just for creating a table inside the database, so i just type the same database name while installing the WP instances rite?
I tried WPmu while it was still in beta so I can't really tell you much about it but my impression was that it really was to complex unless you want to use it to open a free host.

As far as a sub-domain versus a folder off of the root, I think it kind of depends on what your doing. I built xxx blog maniac as a folder because I wanted to add some depth to my blog directory. I built some as sub-directories because I wanted blogs that deviated from the niche that was on the root.

Your correct, all your doing when you change that is putting the information in a different table inside your database so database name, password, etc. would all remain the same
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote
Old 2007-03-05, 10:27 AM   #15
twn
Shut up brain, or I'll stab you with a Q-tip!
 
twn's Avatar
 
Join Date: Dec 2005
Posts: 118
Quote:
Originally Posted by DennisJ View Post
out of the 3 options above which one is better?
I would say in general the wordpress in a subdirectory which can be reached from a subdomain. With this setup you can use the normal wordpress and all the plugins/themes that come with it. Some plugins & themes don't word with wpmu.

But i recommend you do a google on the difference between subdomains and subdirectories and see if the advantages of a subdomain compared to subdirectories fit your needs. There are a lot articles written about this subject.
__________________

* Blog Submitter * Free WordPress
twn is offline   Reply With Quote
Old 2007-03-05, 11:15 AM   #16
jayeff
Just because I don't care doesn't mean I don't understand!
 
jayeff's Avatar
 
Join Date: Sep 2006
Posts: 95
Send a message via ICQ to jayeff
Quote:
Originally Posted by walrus View Post
His stance is that the more you access the database, the greater the chance of some type of corruption.
That is a consideration, but my view had more to do with there being two things which cause SQL-based sites to fall over (apart from the same issues which affect any site): problems with the SQL server and database corruption. The former will bring down all your sites, whether or not they share databases. The latter (usually) only affects the site(s) using the damaged database.

Since it only takes a few seconds to give each site its own database, I prefer to do so. I'm still not clear why Walrus assumed I was implying anything about the wider aspects of maintenance etc., from that choice.
jayeff is offline   Reply With Quote
Old 2007-03-05, 01:03 PM   #17
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
Quote:
Originally Posted by jayeff View Post
Since it only takes a few seconds to give each site its own database, I prefer to do so. I'm still not clear why Walrus assumed I was implying anything about the wider aspects of maintenance etc., from that choice.
Probably cause you caught me on a bad day when I was already in a pissy mood over something totally unrelated.

But thats only a guess, since I would never admit such things actually happened.
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote
Old 2007-03-06, 12:24 PM   #18
Thumbler
You can now put whatever you want in this space :)
 
Join Date: Aug 2003
Location: GA
Posts: 598
Quote:
Originally Posted by walrus View Post
Probably cause you caught me on a bad day when I was already in a pissy mood over something totally unrelated.

But thats only a guess, since I would never admit such things actually happened.
I thought it was because somebody had pissed in your Cheerios
Thumbler is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:17 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc