Plugin Author
AITpro
(@aitpro)
If you want to save any htaccess code permanently then you will need to add it to BPS Root Custom Code. Example: If you change something in your web host control panel and new htaccess code is written to your Root htaccess file then copy that new htaccess code to the appropriate BPS Root Custom Code text box, click the Save Root Custom Code button and activate Root Folder BulletProof Mode again.
We have created a forum topic here for htaccess SSL/HTTPS code, the steps to add it to BPS Root Custom Code and some other helpful tips > https://forum.ait-pro.com/forums/topic/wordpress-ssl-htaccess-code-rewrite-ssl-rewritecond-server_port/#post-7233
Additional Note: WordPress does URI|URL rewriting using code in your WordPress database. htaccess URI|URL rewriting code for SSL/HTTPS can also be used, but may not be necessary in all cases.
-
This reply was modified 8 years, 7 months ago by
AITpro.
Plugin Author
AITpro
(@aitpro)
Is the issue/problem still occurring or is it resolved?
Yes the code is still there. I am fairly certain it has to do with the install of the host auto ssl thru the cpanel. The code is fairly extensive and scattered through out the htaccess filter rules in particular. It was not there until I installed the host provided ssl auto certificate.
I read your code info. I have some http to https code from a conversion course I just took. Looks pretty much like your except no port 80. How important is the port designation. I would think my web host would take care of it. I did change the general settings to https in all my wp affected sites so the www version is working just like it was in the http but with https. And a little green padlock in the browser.
How important is your code vs the http to https force code I have now.
-
This reply was modified 8 years, 7 months ago by
flyfisher842.
Plugin Author
AITpro
(@aitpro)
How important is the port designation.
How important is your code vs the http to https force code I have now.
Same answer for both questions – Not important at all as long as everything works on your website.
I do need this answered. There is some of this new code in the wpadmin incudes block in the custom code. I have looked at the code blocks in the wp admin section but have no clue where to place the code from the upper block to the wpadmin block.
Plugin Author
AITpro
(@aitpro)
Copy and paste the code so I can take a look at it.
I got hold of a tech support at my host. The code is site validation code for the ssl certificate process. It gets added in the htacess at every rewrite rule spot. I am not going to worry about it any more. Basically it gets used once to verify the site is eligible for the ssl certificate. The process probably should take it out once it has been used but may use it to know that the site is ok for ssl on their certificate.