1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Regex for " http://cdn.mysite.com "?

Discussion in 'XenForo Questions and Support' started by Shyuan, Apr 29, 2014.

  1. Shyuan

    Shyuan Well-Known Member

    Hi there,

    Can anyone guide me on the exact regex of " http://cdn.mysite.com " for the use of Kier's Post Content Find / Replace addon? This is the only way I can think of to mass change part of the img/attachments' URLs on my site.

    In case you need to know why do I need that: I used MetaMirror and [bd] Attachment Store to store all the attachments and images to my server and they are being cached by CDN. Now I installed SSL onto my site and am using CDN's Shared SSL (url: https://mysite.r.worldssl.net), unfortunately all my attachments and img URLs are " http://cdn.mysite.com/example.png " and they are broken. I need to mass change them from " http://cdn.mysite.com/example.png " to " https://mysite.r.worldssl.net/example.png ".

    Any help would be much appreciated, thank you! :)
     
  2. Shyuan

    Shyuan Well-Known Member

Share This Page