• Hey there.
    I noticed that after moving the site to another domain some (most? all?) URLs of images stayed untouched. Can I suggest either providing a way to change those in bulk or storing attachment IDs rather than URLs?

    • This topic was modified 3 years, 6 months ago by motivmedia.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Abdul Wahab

    (@abdulwahab610)

    Hey, @motivmedia

    This is not the behavior of LoginPress or WordPress.
    By default, all attachment URLs are changed accordingly when the domain name is changed.

    Can you please elaborate on which images are you talking about?

    Looking Forward.

    Thread Starter motivmedia

    (@motivmedia)

    Ahi Abdul.
    Thanks for coming back so quickly. I should have written that I was just refering to images used in context of LoginPress. No other images were affected. Bad writing on my side, sorry 🙂

    Checking wp_options, there’s loginpress_customization. This contains at least setting_logo and setting_background in which full URLs are stored. Those are retained when moving domains. Tools like Velvet Blues Update URLs don’t catch that as it’s stored in serialized form.

    I’d either propose storing attachment IDs rather than URLs or alternatively allowing to update URLs used – for the latter Velvet Blues Update could be an ispiration.

    Cheers
    Florian

    Plugin Contributor Abdul Wahab

    (@abdulwahab610)

    Hello, Florian!

    Got your point and thank you for figure out the bug. Noted and will fix it soon.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Make URLs immune to host changes’ is closed to new replies.