After my troubles with replicating a blog to maintain the design and layout etc as described in http://www.s9y.org/forums/viewtopic.php?p=9684#9684 I'd like to ask what the correct method for doing this.
So the isue is this ... You setup a blog, get the layout as you want it, add in your site statistics, google and amazon links through a variety of plugins. You might even have entered some blogs etc.
Now you want to make a new blog, but you want to reuse the same structure as this first blog. Obviously you want to point to a new database.
Assuming it's possible how do you go about doing it (the right way).
thank you in anticipation.
How to install a replica of blog with a new database
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: How to install a replica of blog with a new database
I would go about like this:
Say your base blog is installed in "/blog" and the prefix to your database is "serendipity_".
Now you do:
1. Copy /blog to /blog2 with all directories and all files
2. Using phpMyAdmin, copy each serendipity_* table to serendipity2_*, with structure + data.
3. Browse the serendipity2_config table and adjust the values of serendipityPath, serendipityHTTPPath, dbPrefix and baseURL to point to /blog2
4. Edit /blog2/serendipity_config_local.inc.php and change the dbPrefix to serendipity2_
That should be it, your blog2 will now be usable with the exact contents of blog - but from now on they can be maintained on their own.
Regards,
Garvin
Say your base blog is installed in "/blog" and the prefix to your database is "serendipity_".
Now you do:
1. Copy /blog to /blog2 with all directories and all files
2. Using phpMyAdmin, copy each serendipity_* table to serendipity2_*, with structure + data.
3. Browse the serendipity2_config table and adjust the values of serendipityPath, serendipityHTTPPath, dbPrefix and baseURL to point to /blog2
4. Edit /blog2/serendipity_config_local.inc.php and change the dbPrefix to serendipity2_
That should be it, your blog2 will now be usable with the exact contents of blog - but from now on they can be maintained on their own.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/