WordPress.org

Ready to get started?Download WordPress

Forums

Static URL's in database (1 post)

  1. spstieng
    Member
    Posted 5 years ago #

    Every now and then I want to take a backup of the database on my live site, to import it on my local computer.

    The problem is that it uses statick URL's and not dynamic.

    An example:
    Instead of '/wp-content/upload/'
    is uses
    'http://www.norwegianfashion.no/wp-content/upload/'
    so I have to change this to
    'http://localhost/norwegianfashion/wp-content/upload/'

    This will of course give me a problem each time I take a backup.

    Any suggestions to what I can do?

Topic Closed

This topic has been closed to new replies.

About this Topic