WordPress.org

Ready to get started?Download WordPress

Forums

Download Content of WordPress on Shared Hosting to Local Server? (2 posts)

  1. chaseman
    Member
    Posted 3 years ago #

    I developed a template on my local server, and now I'd like to download the content of my WordPress blog on my shared hosting to my local server so I can try it out with my template.

    When I simply download the whole database it will break up my whole design and some of the links will lead me to the domain of my actual blog on the shared hosting.

    If I simply download the posts table it won't work properly either.

    So I'd like to know which exact tables do I need and what would be the best way to create a 1:1 copy of my shared hosting blog to my local server but with the new template on the local server?

  2. Samuel B
    moderator
    Posted 3 years ago #

    export online database in .sql format to your comp.
    open in notepad or similar
    do a search -> replace of online url to localhost url as some url's get hard-coded
    import this to your localhost database

    download copy of online wp-content folder and replace the localhost one

    please back up files before modifying

    should work now

Topic Closed

This topic has been closed to new replies.

About this Topic