Advertisement:
GCWebhosting

Author Topic: SSL Conversion Help  (Read 4611 times)

Online drewactual

  • Full Member
  • ***
  • Posts: 654
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #40 on: February 04, 2019, 11:18:32 PM »
when it was deactivated, and using a browser with no memory of your site (or using incognito in chrome, private browsing in firefox) it loaded just fine (well, padlock wasn't green, but that is an easy fix). 

so...

make sure it's deactivated.

making WP and SMF play nicely is something i have some experience with ... there is a way... let's get this straight first... don't worry about the forum being inaccessible for right now- deactivate the plugin.  freakin' WP tries to do things for you too much, and right now it's making entries in your htaccess and it's using php to redirect... we don't want that foolishness.

Online drewactual

  • Full Member
  • ***
  • Posts: 654
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #41 on: February 04, 2019, 11:19:35 PM »
no worries... i see ghosts when i sleep.. so... i don't do it.

your padlock.. easy peasy..

using chrome? right click and inspect.. console tab.. it will show you the items not using https, and we're going to fix them.

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #42 on: February 04, 2019, 11:26:10 PM »
LOL! No ghosts allowed.  ;)

OK, I deactivated. But the only way to get it working was to reload the original .htaccess.  Also, when I try to modify a message, I now get this error:

The following error or errors occurred while posting this message:
Your session timed out while posting. Please try to re-submit your message.

Every time...

OK, I will try the .htaccess you gave me again. What about this one from WP:

Code: [Select]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>

that is what they suggest.  :-\

Online drewactual

  • Full Member
  • ***
  • Posts: 654
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #43 on: February 04, 2019, 11:31:04 PM »
they're just using wildcards... we're hard wiring it. 

the sessions thing is something else... we'll get to that.  it has to do with something called "2.0.14 login fix".  no worries- let's get the redirect back up....

three things of vital importance:
the redirect in the htaccess just as posted prior.
the settings in WP, asking you site URL and Address (there are two lines) must match the URL in the htaccess
the settings in your SMF (easily accessed via repair_settings) must all have https and either www or not, just like ^those two.

you're NOT going to have a green padlock, but... we're gonna get there too.  first things first

Online drewactual

  • Full Member
  • ***
  • Posts: 654
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #44 on: February 04, 2019, 11:34:08 PM »
....... and by the way... you're using http2, which is going to get fun in a little while when i make your page zoom like a Ferrari.

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #45 on: February 04, 2019, 11:42:40 PM »
Oh boy! Sounds like fun!

OK, I'm going to run through it. I'm buckling up.  ;D

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #46 on: February 04, 2019, 11:49:58 PM »
OK, I put in the .htaccess as you wrote it.
Made sure the WordPress Address and Site Address URL are both https://www.theflourishforum.com.
All settings in SMF have https://theflourishforum.com.

It says, "The page isn't redirecting properly."

Should I change all the settings in SMF to https://www.theflourishforum.com and try again?

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #47 on: February 04, 2019, 11:51:31 PM »
I can no longer access the WP admin page.  :o

Online drewactual

  • Full Member
  • ***
  • Posts: 654
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #48 on: February 04, 2019, 11:52:59 PM »
wp-settings.php will have the info you need to alter.  you can access it ftp or through your cpanel.  also, wp-config.php....

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #49 on: February 04, 2019, 11:55:08 PM »
OK, I can access through control panel. But...what do I change?

Online drewactual

  • Full Member
  • ***
  • Posts: 654
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #50 on: February 04, 2019, 11:57:51 PM »
if you want you can PM me your cpanel access and I'll get you squared away... but only because i got you here.  i'd rather you do it (even if directed) so you know how and learn how this junk works in the meantime.


the htaccess- comment everything out.. that is put a # in front of every line... this eliminates the threat of it messing with something.
you're going to want to look at your wp-config.php and wp-settings.php... there is something WP is doing that is jacking this up for us...
the SMF settings.php is where a lot of those files URLs you change in repair_settings live... they can be changed there too- it's just not as easy.

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #51 on: February 05, 2019, 12:00:32 AM »
Oh OK. Well since I can't see straight right now and my brain hurts, I think I will revert it back for now (I have members all over the world so they access it 24/7). And then try again in the morning.

You are a lifesaver and I really, truly appreciate all of your help with this.  ;D

Online drewactual

  • Full Member
  • ***
  • Posts: 654
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #52 on: February 05, 2019, 12:08:06 AM »
here is some homework for you. 

use google chrome and access your site.  right click and inspect.. choose the console tab, and it will show you all the unsecured items on the page... we'll be needing to make them secure.  it looks like most your items are from your images folder...

just a tidbit: those directories don't change from unsecured to secured, only the way you access them does.. the padlock isn't green as WP is asking for the images over http NOT https.  it's a URL in the code we'll have to change. 

the redirect works- the one i gave you... but it is conflicting with something WP is doing...

if you want ONE more swing at it tonight, try this:

MAKE a file, call it .user.ini .... that begins with a period.... place it in your SMF directory. INSIDE that file, add the redirect provided above, but put /forum after the .com this time. 

.user.ini does the same thing, basically, a htaccess file does except only for php files (which is what we're working with) and only for the directory it's in.  this is a bandaide.  but.... it should work.   

Online drewactual

  • Full Member
  • ***
  • Posts: 654
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #53 on: February 05, 2019, 12:10:12 AM »
uh... DON'T DO THAT^^^^^

using incognito, your site is working with a green padlock as it is supposed to... both the main and the forum.

congrats!

dump your cache and your cookies.

Online drewactual

  • Full Member
  • ***
  • Posts: 654
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #54 on: February 05, 2019, 12:13:06 AM »
DO come back tomorrow, though...

my site is a lot heavier than yours, but mine loads in less than a second. we can get yours to do the same because you are using mod_h2 ... I'll do some of my own homework for you in the morning and give you some code that will blow your mind.  will assist with your SEO too.

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #55 on: February 12, 2019, 01:38:47 PM »
You are a peach @drewactual! I'm sorry it took me a few days to get back. My site is really unstable right now. I deactivated a plugin (All-In-One_Migration) and the whole site went down. I restored it from a back up and it's working but very glitchy. I'm getting lots of 405 and 502 errors.

I think I need to get it off cloudflare. I am looking at changing hosts so I'm not going to make any changes right now. I feel like it's teetering on a pushpin.  :-\

Online drewactual

  • Full Member
  • ***
  • Posts: 654
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #56 on: February 12, 2019, 02:32:09 PM »
take a peek in your server error logs and we can figure it out.

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #57 on: February 12, 2019, 03:09:42 PM »
OK, will do!

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #58 on: February 12, 2019, 04:19:37 PM »
There are a whole lot of errors in that log. Not even sure where to begin. I think I need to hire a web developer at this point.  :(

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #59 on: February 12, 2019, 04:21:07 PM »
The only one listed with today's date:

[12-Feb-2019 13:08:23 UTC] PHP Warning:  array_unshift() expects parameter 1 to be array, null given in /home/paperwhi/public_html/wp-includes/class-wp-xmlrpc-server.php on line 508