CCount, https and change links in database
Posted: Fri Jan 15, 2021 9:16 pm
Hi,
I use CCount version 2.1.2 and I have about 1080 links in the database. Now I want to change from http to https. I changed all links in every php file to https. But there is a problem with my link database: I also want to change the links in the database to https. That means I have to change 1080 links from http to https. First I created a backup file from the database. Then I changed all links to https with search and replace and saved the file. Then I wanted to import this file again. But it is not possible to do so. No links can be seen.
Now I read in this forum that this error is caused because of a different length of the links. My question is:
Is there a possiblity to replace http by https automatically? You can imagine how long it will take to change the links manually.
Is there a solution for this issue?
Thank you for your help.
Regards,
Feechen
I use CCount version 2.1.2 and I have about 1080 links in the database. Now I want to change from http to https. I changed all links in every php file to https. But there is a problem with my link database: I also want to change the links in the database to https. That means I have to change 1080 links from http to https. First I created a backup file from the database. Then I changed all links to https with search and replace and saved the file. Then I wanted to import this file again. But it is not possible to do so. No links can be seen.
Now I read in this forum that this error is caused because of a different length of the links. My question is:
Is there a possiblity to replace http by https automatically? You can imagine how long it will take to change the links manually.
Is there a solution for this issue?
Thank you for your help.
Regards,
Feechen