Forums

BP Code Snippets
[resolved] How move snippets to new domain (2 posts)

  1. Kerry
    Member
    Posted 7 months ago #

    Hello,
    I just started using the snippets plugin and I decided to move my project to a new domain. Is there a way I can export the snippets and import them back in on the new sites?

    http://wordpress.org/extend/plugins/bp-code-snippets/

  2. imath
    Member
    Plugin Author

    Posted 7 months ago #

    Hello,

    wow ! well snippets is a custom post type, so you'll find them in your {table_prefix}posts table.
    then you should also have datas in {table_prefix}postmeta and in {table_prefix}terms / taxonomy and terms relationships as it uses custom taxonomies. So i guess there's a way but it's a rough one !

    If i were you i would try to change the domain for all the database by exporting an sql file and replacing each occurence of your old domain by your new one. Once done, i would delete the content i don't need anymore and start from here.

    You should first test this on a local environment by playing with your hosts file (127.0.0.1 yourdomain.com) and add a virtual host on your apache config.

    Hope you'll achieve your goal.

Reply

You must log in to post.

About this Plugin

About this Topic