WordPress.org

Ready to get started?Download WordPress

Forums

localhost xml file cat# no same on remote WP database (1 post)

  1. Tony Pratt
    Member
    Posted 1 year ago #

    I am developing a php site with an attached WordPress blog using Dreamweaver CS6 on my localhost test server. My php pages contain echos from private blog posts with an average of several divs per page.

    Heres my problem, when I export the xml from my localhost and import the xml into my remote hosted WordPress blog the categories I assigned locally do not have the same category #assignment.
    Example:
    blog/?cat=10
    for a catagory on my local blog changes assignment to lets say
    blog/?cat=9
    on my hosted remote site blog.

    Of course this totally messes up the echoed content going to the respective divs on the php main site pages.

    How can I either get the xml to maintain the cat=# or else edit the category number assignment on the remote site?

    The reason I want to develop locally is to be able to demo the site in different locals which do not have internet access. In other words I would like my localhost test server site mirror the actucal site on the web.

    Any suggestions would be greatly appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.