• So its not really a malfunction, I just messed up somewhere.

    I got a new install of wordpress, ready for content.
    Someone else set this up for me.

    I wanted to copy content from another wordpress site to see if i could resolve a permissions problem.

    But I coppied everything from one site to another using ftp.

    Now I just want to clear everything from the new site, upload new wordpress then copy only the content (not the entire site) over.

    Any help wil be ++good.

    thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • The content of your WordPress site has very little to do with your files. Your content is largely in your database.

    The only content which comes from your files is your images and multimedia, also your theme of course.

    Hope this helps.
    Before you really start experimenting I strongly suggest that you backup your databases.

    Look to copy from one wordpress installation to another wordpress installation their is a tool. Using that you can export and then in new wordpress site you can import .

    Also you need to verify that you are have enable same theme and all the plugins which were enabled in previous installation and ensure that you move all iamges etc.

    rest will be ok let me know if it work

    Susheel Kumar

    Thread Starter emjaybiz

    (@emjaybiz)

    Thanks Both.

    What I’m trying to do is copy the content, but not necessarily the theme. Where I broke it is copying over the wp-config.php files.

    Some background.

    The first site (.com) was set up a few years ago with a fully custom wordpress theme.

    When it wax setup it was setup on a testlink before the dns was setup to point the address from the pre 2012 site to the new .com.

    Since the change over, even though the address.com points to the correct place, I can’t get in to the WP Dashboard using the standard address

    address.com/wp-admin

    I still have to use the testlink address

    address.testlink.com/wp-admin

    This has not really been a problem but now, I’m trying to update the look I get an access issue and can’t preview other themes, or customize this theme. I just get an endless request for my password.

    So to help me sort this out, my host has set me up with a .ca site, with a database to copy the content over and hopefully fix that problem.

    So I copied everything over to the new site using FTP

    everything, including the problem.

    Now I just want to restore a blank wordpress site on the new .ca page complete with a repaired wp-config.php file

    Then copy over the content but not the formatting or dns or database files.

    Thanks.

    Keith

    (@keithdriscoll)

    To fix your URL problem you also need to change the ‘WordPress URL’ and ‘Site URL’ to ‘http://address.com’ by going to settings -> general.

    Thread Starter emjaybiz

    (@emjaybiz)

    Oh yeah, that was on my to do list for after the dns switch and i just never did.

    epic fail

    not embarrassed at all…

    Thank you very much.

    Thread Starter emjaybiz

    (@emjaybiz)

    So If i accidental copy the information to those fields incorrectly, and get locked out of the admin in the process, how do I get back into the site?

    I’ve tried uploading the backup of the site that I have without success.

    Please help.

    Keith

    (@keithdriscoll)

    You can set the URL manually by adding this to wp-config.php

    define('WP_HOME','http://example.com' );
    define('WP_SITEURL','http://example.com' );

    or update the options by adding this to functions.php

    update_option('siteurl','http://example.com' );
    update_option('home','http://example.com' );

    also see here http://codex.wordpress.org/Changing_The_Site_URL

    Thread Starter emjaybiz

    (@emjaybiz)

    Thanks Keith, Problems Solved.

    Thread Starter emjaybiz

    (@emjaybiz)

    Somewhat premature, problems persist.

    I’ve tried to use the fix above to change the url fields for the .ca site, thinking i’d be able to edit it sepeately, but i’m still editing the .com site and now on the .com site, when i try to login, it takes me to the .ca site.

    whats going on?

    Thread Starter emjaybiz

    (@emjaybiz)

    If I want to copy all image uploads, Layout files text and other website content related to the look of the website, but leave all of the files about the location of the website alone,

    what files and folders do I copy and what do I leave alone?

    Keith

    (@keithdriscoll)

    You would need to copy over your theme, usually located in wp-content/themes/

    You should export and import your WordPress content and choose to download images when asked on the import.

    If you are duplicating the site and want to work on one while leaving the original alone I would recommend this awesome plugin https://wordpress.org/plugins/duplicator/

    Hi emjaybiz,

    Maybe you can cut your losses for now. If you have been copying files including many url troubles, problems are likely to keep coming.

    I would clearly recommend to :

    1/ delete every single file on the ftp
    2/ delete the database
    3/ create a new database
    4/ follow the installation steps of wordpress
    5/ export the content from the previous website
    6/ in the new website, import the content.

    You should be then working on clean basis.

    Thread Starter emjaybiz

    (@emjaybiz)

    Thanks both.

    So

    I’ve stripped the content from the .ca
    Created a new Database
    Installed WordPress

    I’ve used the WP Export/Import tools to get the data across mostly worked) now I’m trying to use the duplicator plugin to get the rest with all of the layout formatting etc.

    I’ve made the package and downloaded the php and the zip, now I’ve got a problem deploying the installer php. I’m supposed to open it in the browser… but I get only the text content, what am I doing wrong?

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘WordPress site copy malfunction’ is closed to new replies.