Image urls

WordPress 4.9.5 Cornerstone 3.0.4 x 6.0.4
I developed the website as http://domainname.com and when it went live it was changed to https://www.domainname.com.
I used Better Search Replace Pro to do the rename. A page will show secure in Chrome. If you do an f12 inspect element on an image url you will see https://www.domainname.com/image name. However, if you "save in Cornerstone - even if you do not make an actual change to the page, the page is now shown as unsecure in Chrome. Then if you do an f12 inspect element on the image you will see http://domainname.com/image name. I kid you not!

This has been occurring and I thought that it was a url change missed by Better Search Replace Pro, so I ran the url change again and urls were updated and the pages all showed as secure in Chrome. So it appears that Better Search Replace Pro is changing the urls, but then when Cornerstone updates the page some how the orginal image url is saved.

I am now going into Cornerstone and removing the image that keeps changing urls and adding in a replacement image, and then saving via Cornerstone and this is correcting the issue. I hope once and for-all on this site. However, this is a serious issue.

Hey There,
​
​To assist you better with this issue, would you mind providing us the url of your site with login credentials so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

To do this, you can create a secure note with the following info:
– Link to your site
– WordPress Admin username / password

Meanwhile, please make sure that your site url and WordPress address url in Settings > General is using https to. And I would recommend using the search and replace feature in WP Migrate DB plugin. It can do better search and replace in my experience.
​
Thank you.

@RueNel thanks to @freedomdesign I just did the rewrite http://www.myurl.com -> https://www.myurl.com in Better Search and Replace. I went into Cornerstone and made a change, saved, and my urls did not change back to http://myurl.com as they previously had been doing. I have been going crazy with this issue. I was unaware the Cornerstone stored the urls in this manner. @RueNel you all need to be aware of this issue so you can share this information with anyone else who run into this issue. The fix is easy once you know what to do. Prior to this I thought there was a major bug in Cornerstone and was questioning the use of Cornerstone going forward. Glad the fix turned out to be so simple. Information is power!

Glad to know that your problem has been resolved.
The information we always share with the people who has the issue.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.