Post by jumblez » Tue May 22, 2018 8:31 am

I hope someone can help me. Since I am not as good at this as some.
I need to link my SSL certificate to my cart. GoDaddy tells me I need to change my .htaccess file.
When I FTP in which has notepad++ linked to it, I can't open the file to make changes.
This is what I am suspose to do: https://www.godaddy.com/help/redirect-m ... inux-27870
Anyone know how I can access this file so I can change .htaccess file?
Thanks!

Newbie

Posts

Joined
Wed May 09, 2018 8:02 pm

Post by MrPhil » Tue May 22, 2018 9:53 pm

That's not the full story. There are two things you need to do:
  1. update your configuration files to specify https instead of http for all internally-generated page links
  2. modify your server (through .htaccess) to change any incoming http URLs to https
Your question concerns the second item. It is possible only if you are on an "Apache" server, which uses the .htaccess file to control things, including URL rewrites (technically, redirects) from http to https. Some other servers can be configured to obey the .htaccess files, but if in doubt, check with your hosting service. There are probably alternate ways for those servers to do URL rewrites.

Assuming you are on a suitable server, any existing .htaccess may be "hidden" (due to the dot at the beginning of the name). You may need first to set something in your hosting control panel's file manager to make it show you such hidden files. Apache servers often come with an empty .htaccess, or it may already have some commands in it. Once it is unhidden and has the proper permissions, you should be able to edit it on your hosting control panel, or you can download it to your PC, edit it there, and upload it to the server.

If you can't even edit .htaccess on your PC, check that it has read-write permissions and is not read-only. Also try editing it from your hosting control panel (after checking that it is read-write there, such as 644 permissions). If all of this fails, have a talk with your hosting tech support to see where you're going wrong. I assume that you're working on the correct .htaccess file (there can be one per directory).

User avatar
Active Member

Posts

Joined
Wed May 10, 2017 11:52 pm

Post by jumblez » Thu Jun 28, 2018 9:11 pm

Thanks for all the information. Someone at Opencart support was able to get it to work finally. Part of the issue was with how Go Daddy ties the SSL to accounts as well. The domain name was under one account but the hosting was under another. So when the SSL was issued it tied to the domain name. They had to merge the accounts. This happened because the domain name was purchased long before the hosting started. Thanks again.

Newbie

Posts

Joined
Wed May 09, 2018 8:02 pm
Who is online

Users browsing this forum: No registered users and 32 guests