WordPress.org

Ready to get started?Download WordPress

Forums

appropriate files when downloading live site (2 posts)

  1. larry@midwestjourneyservices
    Member
    Posted 1 year ago #

    I have a fresh install of WordPress on my computer. I replaced the wp-content folder with that of a live site, thinking this would make my local version match the live version. It did not change what I see when I view my local site.

    Did I miss a step, or do I need to download other files/folders?

    Thank you

  2. ClaytonJames
    Member
    Posted 1 year ago #

    Your content is actually stored in the database. While you have the physical files that you need, the database on your local pc doesn't have any of the content (posts, pages, media links, etc...) in it that your live site does.

    You'll need to download a backup copy of your live sites database. Once you have that, you can use a text editor to search and replace any references to your live site urls with your local site urls.

    Example: search and replace all references to //www.yoursite.com with //localhost if that's your local install address. Then import the backup copy of the database into your local installation and things should probably be working on your local pc much like they do on the live site.

Topic Closed

This topic has been closed to new replies.

About this Topic