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!
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)
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);
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
Francisco Javier Carazo Gil answers:
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.
Fahad Murtaza answers:
Or simply copy the files and database to new server, and just add these lines to wp-config.php
usually, both of above contain same url as blog is installed in the domain root.
For more details, check