Advertisement:

Author Topic: Adding SSL information to the footer of all pages on my forum.  (Read 1069 times)

Offline Sunshine Meadows

  • Semi-Newbie
  • *
  • Posts: 23
Adding SSL information to the footer of all pages on my forum.
« on: November 25, 2018, 06:05:26 AM »
Hi,

Recently bought a SSL certificate from Go Daddy and it turns out I am supposed to add some code to footer on all my pages. I tried to figure it out myself and just added the code to the bottom of the Index Php page which did not work nothing happened, so I put back the original version Could someone let me know what I need to do and how. My website is currently in maintenance mode, the address is www.ouchtoo.org [nofollow], the old theme is working so if you need me to take it off maintenance mode I can do.

I am able to do editing on CSS but I don't have any experience with PHP as such.

Here is the code I have a choice of two

<span id="siteseal"><script async type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=6vhOBSSrtmoLvIAHIxpHaNiv0Z2Y3umkCAT7hTmpgcmF8ePgmi [nofollow]"></script></span>

or

<span id="siteseal"><script async type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=6vhOBSSrtmoLvIAHIxpHaNiv0Z2Y3umkCAT7hTmpgcmF8ePgmi [nofollow]"></script></span>


Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 50,399
Re: Adding SSL information to the footer of all pages on my forum.
« Reply #1 on: November 25, 2018, 06:07:24 AM »
that does not actually apply the cert to your page. take a look at https://www.simplemachines.org/community/index.php?topic=555034.0

Offline Sunshine Meadows

  • Semi-Newbie
  • *
  • Posts: 23
Re: Adding SSL information to the footer of all pages on my forum.
« Reply #2 on: November 25, 2018, 07:16:12 AM »
Thank you I will go and read that thread now  :)

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,791
  • Gender: Male
    • Kindred-999 on GitHub
Re: Adding SSL information to the footer of all pages on my forum.
« Reply #3 on: November 25, 2018, 08:55:54 AM »
What that code does is just put a little image at the bottom of your site to tell people that you used the godaddy cert
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Sunshine Meadows

  • Semi-Newbie
  • *
  • Posts: 23
SSL installation and getting http to https
« Reply #4 on: November 25, 2018, 09:57:56 AM »
Kindred,

I thought that might be the case, I would still like to know how to do it  :)

Illori,

I hope it is okay to post here rather than add a reply to the thread you directed me to. I have read through the thread and there is a far amount I dont understand nevertheless I did realise that just adding an s to the http part of the website address to me to that secure page https://ouchtoo.org [nofollow]. I Uploaded Repair settings looked at the settings page and it had all the addresses as http so I changed them to https however when I clicked on save settings it took me to an error page which said

This page is not working
ouchtoo.org did not send any information
ERR-EMPTY-Response.

Reading the information on the thread you linked me to it sounded like I might need to use a different version of repair Settings Php is there another version I could use?

I made sure I was using the https://OuchToo.org [nofollow] address and I did try Admin tools going to
Admin > Configuration >Themes and Layout >Themes settings > and reset all themes > which added the s to all the http addresses > it worked  :)

I tried Repair settings again and it was a repeat of what I already did with the same error message.

In summary, I can now access the homepage using the http or https version of the address. Also the new theme is no loading properly. I feel so stupid that I went ahead with buying the SSL certificate from Go Daddy assuming they would just install it and make sure it works. I dont expect to get tutorial information here but if someone could  help me out that would be great. For example does whatever Go Daddy did take days to work itself through and would that mean there is nothing else I need to do?

Offline Sunshine Meadows

  • Semi-Newbie
  • *
  • Posts: 23
Re: Adding SSL information to the footer of all pages on my forum.
« Reply #5 on: November 25, 2018, 10:25:35 AM »
Bit of good news i used this link from the thread you gave me https://www.sslshopper.com/ssl-checker.html [nofollow] and my site passed all green no red  :)

It looks like maybe I just need to know how to redirect people from the http to the https


Offline br360

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,332
    • GenXcommunity

Offline Sunshine Meadows

  • Semi-Newbie
  • *
  • Posts: 23
Re: Adding SSL information to the footer of all pages on my forum.
« Reply #7 on: November 26, 2018, 04:12:24 AM »
Thank you I will let you know how it goes  :)

Offline Sunshine Meadows

  • Semi-Newbie
  • *
  • Posts: 23
Re: Adding SSL information to the footer of all pages on my forum.
« Reply #8 on: November 27, 2018, 08:21:29 AM »
Thank you to everyone for all the help given. I read the information on the links given and also looked at go Daddy help pages. There was already information written on the Htaccess file on the root of my website so I saved that to one side. Next I tried adding the code GoDaddy said I should use and it did not work. In the end I used this link https://www.whynopadlock.com/ [nofollow] to test the site. In the result it had a red X next to Force HTTPS  Your webserver is forcing the use of Force HTTPS , I click the box on the right for more information and it gave me the text I ended up using.

RewriteCond %{HTTP_HOST} ouchtoo\.org [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://ouchtoo.org/ [nofollow]$1 [R,L]

I added that to the existing code i n the htaccess file. The website is now forcing http to go to https so hooray  :)

I think I might start calling myself a copy and past monkey because I still don't know how things work or what things mea. I just follow instructions and try things until I get the results I want. I just hope adding that code is not going to somehow stop the things already in htaccess. All seems okay so  8)

Thank you  :)

ps I still dont know how to add the little image to the bottom of the page that is okay.  I consider that I got the solution to the issue I was struggling with.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,791
  • Gender: Male
    • Kindred-999 on GitHub
Re: Adding SSL information to the footer of all pages on my forum.
« Reply #9 on: November 27, 2018, 12:17:36 PM »
to add the image, you would have to edit index.template.php for every theme that you use...   and put it within an echo statement in the section near the copyright, then add some CSS identifiers around it and to the css file so that it gets positioned correctly.

it's basically useless...
I did it here...
https://www.fx-sabers.com/forum/index.php
but something actually broke the image at some point (on the godaddy side of things) and I have not had a chance to fix it yet
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Sunshine Meadows

  • Semi-Newbie
  • *
  • Posts: 23
Re: Adding SSL information to the footer of all pages on my forum.
« Reply #10 on: December 02, 2018, 08:15:19 AM »
Kindred,

Sorry about the delay in responding, and thank you for adding the description of what would need to be done.

I agree with you about it  being useless and it also annoys me that companies are failing to make adaptions to allow full use of their products on message board type sites. I am currently trying to learn more about SEO and of course that is a whole other thing.

FX Sabers the theme you are using goes well with the content  :)


Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,791
  • Gender: Male
    • Kindred-999 on GitHub
Re: Adding SSL information to the footer of all pages on my forum.
« Reply #11 on: December 02, 2018, 09:23:23 AM »
Thanks. I used bloc's studio003 theme as a base and customized it for them
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.