A new SSL redirect problem
-
Well, here is another SSL problem question. I have been searching and digging and cannot find a resolution to the problem I am seeing.
I have just migrated our old site from an older PHP ome grown site to a new WordPress site. All was going well until the SSL stuff. We have our SSL cert installed and working like a champ. It has been for a number of years, and as a means of verifying, here is a link from the old site (that is still active) displayed in http and https
https://www.snipercentral.com/m40a1.htm
https://www.snipercentral.com/m40a1.htmAll working great.
Now, notice the same page in the new wordpress sitehttps://www.snipercentral.com/usmc-m40a1/
https://www.snipercentral.com/usmc-m40a1/Notice that when you hit the https link, the site automagically redirects to http, but there is nothing setup in the settings in wordpress or the htaccess file that would redirect the https to http. Here is our .htaccess file for the root dir:
# 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 WordPress HTTPS plugin is NOT installed. I have tried it, but its the same result, the selected pages to secure just redirect to http. So it is uninstalled right now. I have also tried using SSL for the entire site by changing the general settings for the home URLs to be https:, but I am sure most of you can guess what happens, because of the handy dandy redirection, the site goes into the infinite SSL death loop.
I have searched far and wide and have dug into code and cannot figure this out. The last clue… is that I went into the wp-settings file and commented out the require statements for each header file (which causes the site to just display a blank page) and I was able to change to https and stay once the “widgets.php” include file was commented out and not loaded… I’m not saying its for sure something to do with widgets, but it might be a clue.
Any help would be greatly appreciated.
MEL
- The topic ‘A new SSL redirect problem’ is closed to new replies.