• Hello Experts,

    I want to replace all theme file URL https:// to //

    From
    <img src=”https://example.com/image.jpg&#8221; alt=”image”>

    To
    <img src=”//example.com/image.jpg” alt=”image”>

    Automatically Change All URL from HTTP:// to //

    Is there any script which one I can add into function.php and it’ll work accordingly.

    I get “insecure content” warnings from some of my content
    We are probably loading content (such as images) with a URL that starts with “http:”. Take that bit away, but leave the slashes, e.g. //www.example.com/image.png; our browser will load the content, using HTTPS when your page uses it.

    Thanks,
    Group Of Oceninfo

  • The topic ‘How to replace https:// to //’ is closed to new replies.