Changing http to https - Post ID 279701

User 2902129 Photo


Guest
1 post

I've been using CoffeeCup for years now and wondered if you had something in the software that could change all the http prefixes to https . Soon we'll be changing to a SSL certified site to satisfy Google and we'll have to change all those tags on hundreds of pages manually. I would like to find an easier way if it's not to expensive. Does a better, paid for, CoffeeCup do this?
And if so what does that version cost?
User 187934 Photo


Senior Advisor
20,239 posts

The HTML Editor has a find replace feature that I use a lot. It should be perfect for changing any absolute links from http to https. I would change as many as you can to relative.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 78051 Photo


Registered User
201 posts

If you're able to edit the .htaccess file, you could do it this way and it would save you having to physically change http to https as this would basically do that for you:

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
User 2906906 Photo


Guest
1 post

Eric Rohloff wrote:
The HTML Editor has a find replace feature that I use a lot. It should be perfect for changing any absolute links from http to https. I would change as many as you can to relative.

Your suggestion will be helpful for us
User 2911083 Photo


Guest
2 posts

As Jamie said, it would be much, much easier just to switch links to https with the 2 command lines.
Please keep in mind, though, that you would need to make a 301 redirect first.
User 2912743 Photo


Guest
6 posts


The protocol transfers information between the browser and the server in clear text, allowing the network through which the information is transmitted to display the transmitted information. This is a security problem, the HTTP Secure (HTTPS) protocol that allows the client and server to create an encrypted communication channel, and then transmits HTTP messages in clear text, effectively protecting them against espionage.
User 2800147 Photo


Registered User
68 posts

Hi,

I have tried Jamie's suggestion to change http to https via .htaccess.
None of the images show up when I made the change.
There are thousands of image links in the website all linked with an absolute url (image stored online) . Website built with RSD v1.5
Would a 301 redirect work in my case? What would the redirect code look like?

Thanks
Anne

titanium-implant-jewelry.com
jewelry-tutorials.com
drill-straight-tools.com
User 122279 Photo


Senior Advisor
14,547 posts

Where are your images relatively to the site where they are to be displayed? Same server and domain, or different?
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2800147 Photo


Registered User
68 posts

Hi Inger,

The are on the same server and domain.

website : www.jewelry-tutorials.com
page : http://www.jewelry-tutorials.com/prong- … orial.html
image: http://www.jewelry-tutorials.com/images … rial-t.jpg

Kind regards,
Anne



titanium-implant-jewelry.com
jewelry-tutorials.com
drill-straight-tools.com
User 122279 Photo


Senior Advisor
14,547 posts

I think you will have quite a job in front of you! I don't know of any shortcut, maybe the js savvy people in here do. But AFAIK you have to do this manually.

In this article: https://www.elevated.com/guide-converti … ttp-https/ is the whole conversion process explained. Read especially step 4, the two first paragraphs (the CMS stuff will not be relevant for you).
The code mentioned in step 5 is for catching incoming links to your site, from visitors who may have bookmarked your site or have chanced upon an old link, it has nothing to do with the images.

So, if you want to have this changed sort of quickly, roll up your sleeves, brew some strong coffee and take your exported site, open the pages in the html Editor and use search and replace, removing the full url to your images, leaving the relative one starting with a '/'. (Or indeed, if you insist upon the full url, replace the http:// part with https://, but there is no reason why you should have full urls to resources on the same server).

For later, when you have time, go through the pages in RSD and edit the links one by one. If you don't do that, you will have to run your pages through the search and replace process every time you have made an update.

Sorry for breaking such bad news, but if you are extremely lucky, someone may come up with a shortcut.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.