You need either a second database or a second database prefix (in your wp-config.php it’s probably listed as ‘wp_’ – You should change that to something else).
Or… if you don’t need TWO blogs, you could move it out of the subdirectory.
Thanks for the quick reply! The thing is, my main site is extremely simple, just a couple of links and a newsfeed, so I wonder if its worth bothering with the database. Is it just a matter och changing the prefix in the wp-config-file in the main direcory? I have no programming-skills whatsoever so if it´s more complicated tha that I´ll just google my way to make a simpel html-site…
The thing is, my main site is extremely simple, just a couple of links and a newsfeed,
I’d do an HTML site with semantic markups and meta keywords, description, etc. No database or software upgrades necessary 🙂
I’d move the blog from the subfolder to root and make a static front page 🙂 But that’s me 😉
Hmm. By moving the blog you mean moving all the content in the subfolder to the root directory? Is it as simple as that? Just move it? What url would the blog get then?
It’s a bit of work, but the benefit is (1) your site looks like your site all the way through and (2) it’s all maintained in WP 🙂
Lets say you have it installed in http://domain.com/blog and your permalinks work out to be http://domain.com/blog/2010/12/26/postname/ 🙂
First I’d make my site have a static front page that mimics my current front page. I’d also make a page called ‘blog’ to host my blog posts so the URL would be (for the moment) http://domain.com/blog/blog
Then either by giving WP it’s own directory (i.e. leave it in blog, but have it PRETEND it’s in root) or by moving WP, I would change the URL to http://domain.com
Now my main http://domain.com would be my static page. http://domain.com/blog would be the front page of my blog, and http://domain.com/<postnames> would be my posts. Which if you wanted to preface with /blog/ you could do in permalinks. Or I’d just toss in some .htaccess:
RewriteRule ^blog/(.*)$ http://domain.com/$1 [L,R=301]
That would redirect my blog posts to the new location, no loss of SEO or traffic.