Links to localhost on export

Home Forums SKT Black/White Theme Support Links to localhost on export

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15525
    Mario LenzMario Lenz
    Member
    • Topics: 4
    • Replies: 2
    • Total: 6
    Member since: November 29, 2015

    When I develop locally, then all images, icons etc. refer to localhost. Later, when I want to export to a hosted version of WordPress, will those links be replaced? How to do the export/import — will the standard WP process work?

    Or do I have to change all links on the live site again????

    #15546
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30977
    • Total: 30977
    Member since: August 16, 2013

    Hi,
    Kindly transfer database as well specifically within wp-options table you have all the theme options saved. So you can do the export and import of database and then replace localhost urls with the active url

    Regards,
    Shri

    #15553
    Mario LenzMario Lenz
    Member
    • Topics: 4
    • Replies: 2
    • Total: 6
    Member since: November 29, 2015

    Thanks but what do you mean by “replace localhost urls” — do I need to do so manually? Every single link on every single page?

    Thx
    Mario.

    #15566
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30977
    • Total: 30977
    Member since: August 16, 2013

    Nope on theme options only. Since you are a developer you can shift the whole zip of the wp-content and the database and replace the db urls like given here: https://wpbeaches.com/updating-wordpress-mysql-database-after-moving-to-a-new-url/

    Regards,
    Shri

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.