Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Move articles from local to remote
Hello,
I need to move about 150 articles I put in the local development copy of a website to the remote public website. Is there a way to do this with a plugin?
Offline
Re: Move articles from local to remote
Hi Manaus
Do you have the whole site in local development?
If so you can just use phpMyAdmin to export it and then import it in the live site.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Move articles from local to remote
Hello, I tried to import the sql dump in the remote website, but I get some troubles.
There’s a wordpress installation residing in the root folder, I created a /beta folder for txp development, but if I try to load /beta, I get Failed opening required './wp-blog-header.php'
I guess there’s a conflict between the two cms.
Do you have any hint how to fix this?
Thanks…
Offline
Re: Move articles from local to remote
if youo can create a subdomain you wil not have this kind of problem (it s du to htaccess rewrite), i am not enough skilled on htaccess to say wich command to put in to avoid that, then the only solution (simple) is to create a sibdomaine!
Cheers
Offline
Re: Move articles from local to remote
In addition to Dragondz’s suggestion of setting up a subdomain for that directory, two things to try:
- If you’ve used
<txp:site_url />
and<txp:permlink />
to create your links on your site, you can set your site your “Site URL” in “Admin > Prefs” towww.domain.com/beta
and it should create all links correctly. - Otherwise you can also try setting the RewriteBase to your subdirectory in your .htaccess file.
TXP Builders – finely-crafted code, design and txp
Offline
Re: Move articles from local to remote
Thanks Rabah and Jakob.
Fun is that, if I install the basic 4.4.1 version with db created as new, it works properly.
I have txp_ and myweb_txp_ tables in the db. If I add the “myweb_” in the config.php file, switching from an installation to the other, there it comes the htaccess problem.
I have to port 120 articles from local to remote, wouldn’t like to do it raw…
Offline
Re: Move articles from local to remote
if you change databases, you need to make sure that a) the site URL in the settings is correct and b) if you have a different installation for each site, that you also change the textpattern path in config.php.
TXP Builders – finely-crafted code, design and txp
Offline
Pages: 1