Advertisement:

Author Topic: SSL Conversion Help  (Read 4720 times)

Offline drewactual

  • Full Member
  • ***
  • Posts: 694
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #20 on: February 04, 2019, 09:56:56 PM »
i think that redirect to https in your top level htaccess stands a pretty good chance it was written by that plugin....

yes.. deactivate it. 

THEN....

go to your TOP level htaccess and paste the redirect code in it, and ensure the WP redirect is no longer there.

Code: [Select]
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://theflourishforum.com/forum//$1 [R=301,L]

(don't forget WITH or WITHOUT WWW... this ^ is 'without'...

and comment out the WP redirect if it is still there after deactivating the plugin... meaning, IF it is there, it should now (make it) look like:
Code: [Select]
# BEGIN WordPress
#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteBase /
#RewriteRule ^index\.php$ - [L]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule . /index.php [L]
#</IfModule>
# END WordPress

the little #'s make the engine ignore those directives... this renders your TOP level htaccess to use the more literal redirect without the fancy WP stuff.... and should resolve this issue for you altogether.

Offline drewactual

  • Full Member
  • ***
  • Posts: 694
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #21 on: February 04, 2019, 09:59:14 PM »
to change the forum to www, use repair_settings and ensure the URL's are ALL https://www.... it makes a huge difference..

if those settings are correct EXCEPT for the forum's home URL, you can access your settings.php file and change the "forum's address" to reflect the www.

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #22 on: February 04, 2019, 10:14:03 PM »
OK, I will try that. (Makes me nervous!)

If I wanted to lose the www altogether, would I just take it out of the Settings on the WP links?

Offline drewactual

  • Full Member
  • ***
  • Posts: 694
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #23 on: February 04, 2019, 10:26:20 PM »
yup.

that redirect coughing is because of that plugin writing to your htaccess.. when you use the one i provided it should cascade to every directory within the parent directory. 

Offline drewactual

  • Full Member
  • ***
  • Posts: 694
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #24 on: February 04, 2019, 10:39:53 PM »
now that you've eliminated that plugin, you're going to have to tell WP to load SSL Secure... it's in the settings area of dashboard.. this will take care of the links inside your WP to make them https...

then... your amazon is loading over http... are you using a plugin to bring that in? if so... navigate to it within your dashboard, and change the URL to https there too.

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #25 on: February 04, 2019, 10:43:21 PM »
I changed all of the URLs in the repair settings to include www. Now I get an error message at the top that says, "The default theme's directory is wrong, please correct it by clicking this text."

When I click it, they have all changed to include the www. When I save, it takes me back and still get the same error.  :-[

Offline drewactual

  • Full Member
  • ***
  • Posts: 694
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #26 on: February 04, 2019, 10:46:25 PM »
give me a few seconds.... don't go anywhere.

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #27 on: February 04, 2019, 10:49:25 PM »
OK. Will do. Also... do I want two forward slashes after forum in the rewrite rule or just one?
RewriteRule ^(.*)$ https://theflourishforum.com/forum//$1 [R=301,L]


Offline drewactual

  • Full Member
  • ***
  • Posts: 694
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #28 on: February 04, 2019, 10:52:48 PM »
sweet baby james... no... you only want the one:

Code: [Select]
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.theflourishforum.com/$1 [R=301,L]

JUST like that... top of your top level htaccess.... that friggin' slash is ALL on me and thanks to a dirty screen...

Offline drewactual

  • Full Member
  • ***
  • Posts: 694
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #29 on: February 04, 2019, 10:53:10 PM »
with or without the www.... your choice

Offline drewactual

  • Full Member
  • ***
  • Posts: 694
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #30 on: February 04, 2019, 10:56:14 PM »
post the contents of your top level htaccess file?

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #31 on: February 04, 2019, 10:59:31 PM »
LOL! Hey, I actually learned something in my Pascal programming class back in 1990!  ;D

I tried the new htaccess and I get the Page isn't redirecting properly and it shows the URL as being https://theflourishforum.com/forum//forum/forum/forum/...etc.

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #32 on: February 04, 2019, 11:00:08 PM »
The original htaccess was:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

order allow,deny
deny from 200.143.140.94
allow from all

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #33 on: February 04, 2019, 11:00:38 PM »
I think I'm going to try it all without the www since the forum part won't work with the www.  ;)

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #34 on: February 04, 2019, 11:03:04 PM »
Uh oh... can't get back to repair settings ...

Offline drewactual

  • Full Member
  • ***
  • Posts: 694
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #35 on: February 04, 2019, 11:06:14 PM »
i see the WP redirect and a blacklist for an IP...

overwrite ALL of that with the code i gave you..

yeah, it's redirecting from some mechanism... we'll find it.  i ain't gonna abandon you until this is fixed.

is there a .user.ini in the SMF directory? how about the top level directory?

Offline drewactual

  • Full Member
  • ***
  • Posts: 694
    • College Football Fan Site CFB51
Re: SSL Conversion Help
« Reply #36 on: February 04, 2019, 11:10:30 PM »
dump your local cookies and cache... i used another browser and you're in business!!!!

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #37 on: February 04, 2019, 11:11:44 PM »
Aw, thank you!

I don't see a .user.ini (searched the forum dir and top level dir).

I was able to get back to repair settings. I took the www out just until we can figure out what is happening.

Deactivating the simply SSL plugin now makes the forum inaccessible.

I get this: https://theflourishforum.com/forum//forum/forum/forum/forum/forum/forum/forum/forum/forum/forum....

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #38 on: February 04, 2019, 11:12:07 PM »
OK! Will do that right now!

Offline mcpheex3

  • Semi-Newbie
  • *
  • Posts: 63
Re: SSL Conversion Help
« Reply #39 on: February 04, 2019, 11:13:43 PM »
Sweet! I'm back up... but no green padlock.

You have helped so much and it's late. I won't blame you if you go to bed and I'll keep working on it some more and in the morning.  ;)