Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

transfer wordpress information to add-on website wordpress WordPress

  • SOLVED

Hello, awesome site btw.

I have a website for my portfolio and it's a .com account. I recently bought an 'Add-on Domain'.
I wish both domains to be identical... except for a few things. I was wondering is it's possible to maintain both these domains using 1 wordpress dashboard?
If not, how do i copy/transfer everything from my original .com site to my add-on .com site?

I know you can copy the files from your originaldomain within my control panel, but that would mean I'd have to edit all the files and replace all information linking originaldomain.com to that information. Can this be avoided?


does this need more clarification?

Any help would be greatly appreciated!

Answers (4)

2011-11-01

Sébastien | French WordpressDesigner answers:

wordpress multisite is a good solution but difficult if you are a noob

The most simple solution is to use the tools "export" and "import"

In your first site you can export your content (tools>export) in a xml file
and in your second site you can import this xml file (tools>import)
very easy

2011-10-31

Luis Abarca answers:

You can manage many blogs with Wordpress installed as a Network of blogs, just add this to you wp-config.php right after define('WP_DEBUG', false);


define('WP_ALLOW_MULTISITE', true);


if you want to copy your installation, just copy the files, export the database and run this commands in your new server database.


UPDATE wp_options SET option_value = replace(option_value, 'beta.dominio.com', 'midominio.com') WHERE option_name = 'home' OR option_name = 'siteurl';

UPDATE wp_posts SET guid = replace(guid, 'beta.midominio.com', 'midominio.com');

UPDATE wp_posts SET post_content = replace(post_content, 'beta.midominio.com', 'midominio.com');


Or you can also run this commands in the exported SQL file, before you import the database.


sed -e ‘s/beta.example.com/example.com/g’ dev.sql > production.sql

2011-10-31

Francisco Javier Carazo Gil answers:

Hi,

There are several posibilities, but before this I have to advise you to not having two sites with differente domains and same content. Google and other search engine can consider it copied information and that's bad for your SEO.

If you want to copy all the content and all the SQL data you will have to change the value of: siteurl and home in "wp_options" table.

You can order all the content of this table based on "option_value" and you will be able to see if it's necessary any othe change.

If you want to know how to do this you can send me a message.

2011-10-31

Fahad Murtaza answers:

Or simply copy the files and database to new server, and just add these lines to wp-config.php


define('WP_HOME', 'http://newdomain.com/wordpress_directory_if_any');

define('WP_HOME', 'http://newdomain.com/wordpress_directory_if_any');


usually, both of above contain same url as blog is installed in the domain root.

For more details, check

http://codex.wordpress.org/Editing_wp-config.php