WordPress.org

Ready to get started?Download WordPress

Forums

WP working on localhost but cannot import a WP file (8 posts)

  1. Drachsi
    Member
    Posted 1 year ago #

    I have an export .xml file which I have tried to import into WP on my local Wamp server. It never completes. I did an export first to check the <link> </link> code. All that happens is the message at the bottom "Waiting for localhost" Any ideas?

    Regards

    Drachsi

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    That sounds like a server issue. Try downloading and importing the theme unit test data to confirm this.

  3. Drachsi
    Member
    Posted 1 year ago #

    Hi,

    I had a look at the error file and some files are copied ie. Icon Post “Professional Framework” already exists.
    Icon Post “Premium WordPress” already exists.
    Icon Post “Full Documentation” already exists.
    Icon Post “Fully Customizable” already exists.
    Icon Post “Unlimited Colors” already exists. and some are not,

    Import WordPress
    Failed to import Media “activeden”
    Failed to import Media “audiojungle”
    Failed to import Media “codecanyon”
    Failed to import Media “03_photos”
    Failed to import Media “04_maps”
    Failed to import Media “08_settings”
    Failed to import Media “typography”
    Failed to import Media “colors”

    It seems that the "Media" is not loading. Any ideas?

    Regards
    Drachsi

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Were these files upload to the old site or were they just linked?

  5. Drachsi
    Member
    Posted 1 year ago #

    Hi, I looked at the code and yes you were right, it has links to a site that no longer exists.

    If I ftp a copy of the site to my localhost, and then export a copy of the DB and then import that into the localhost, would that work? Is there anything I should know?

    Thanks for your support.

    Regards
    Drachsi

  6. Drachsi
    Member
    Posted 1 year ago #

    Hi, Made progress but now stopped. Dashboard works and I can go to the pages section. All the pages are listed. When I click view a page I get the error message "Not Found The requested URL /jobseekers-copy/blog-2-sidebars was not found on this server." I can see the page content in the edit view.

    Which is similar for each page. I then created a new page
    "Permalink: http://localhost/jobseekers-copy/pete" and when I click view the error message is "Not Found The requested URL /jobseekers-copy/pete was not found on this server."

    Everything info is in the Dashboard, but I cannot view any page or post. If I type http://localhost/jobseekers-copy/ I can see the home page, clicking on any item comes up with the error. I then changed Theme to Twenty Eleven, same problem.

    I guess somewhere there is a missing link between the WP and the DB?

    Hope you can help guide me.

  7. esmi
    Forum Moderator
    Posted 1 year ago #

    Have you set up custom permalinks yet?

  8. Drachsi
    Member
    Posted 1 year ago #

    Hi, I changed the "custom structure" ( /%category%/%postname% )to Default and that worked, but now I have /?p=703 and not the page name.

    Regards
    Drachsi

Topic Closed

This topic has been closed to new replies.

About this Topic