Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Archive old version of website and keep it active...
This may be a little tricky to explain, but I haven’t found a way to do this yet. I want to archive old designs of my website, for example v1.iamdanielmarino.com, v2.iamdanielmarino.com, etc… and have them all pull from the current txp database for articles. It seems like it should be easy – just have the “textpattern” directory in every hostname (apache virtual server) (v1., v2., etc…) and in the config.php file have it point to the same database. Where this theory gets messed up, is that all of the sections, pages and forms are stored in the database too, so all the different versions would end up pulling the same markup as well (One thing I considered is to use the same markup for each new design and rely on each versions css to completely work the style/design, but it is kind of unreasonable).
I love txp and would love to get to know 4.2 when it comes out of beta, but this has always been kind of a pain whenever I’ve redesigned my site, which I admit I do more often than I should! And I always end up having to do some sort of live redesign/refresh or take my site down while removing the old design and installing the new.
I’ve considered Wordpress because I know that it’s templating engine works on actual files in a directory rather than database-stored markup. But other than this debacle, I love TXP and would hate to have to switch.
Any ideas?
Dan | iamdanielmarino.com
Offline
Re: Archive old version of website and keep it active...
I redesigned my site recently, and just moved the old site to v1.lsquareddesign.ca and copied the articles from the old site to the new one. I only had a few so just cut and pasted, but you could export and import the contents of the table in PHPmyAdmin.
Do you need to have new articles also show up in the old site structure? Or can the old site stay static?
Offline
Re: Archive old version of website and keep it active...
Seems like you should be able to do what you’re looking for by making the old databases article table be a view or synonym of the new databases article table. Not sure if mysql can do that.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: Archive old version of website and keep it active...
hi Les
I’m just wondering how appropriate it would be if you did what you plan.
- Google which considers subdomains as separate site, would penalise your site for duplicate content.
- you’d have to keep all installations current and search/replace all deprecated tags
- keep up with plugins
- etc
My suggestion would be to keep v1 in a separate database and continue your designs from there on.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline