The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
After change to HTTPS indicate Site Not Secure
Hi,
A few days ago, I change my site to https. I made the changes in admincp-options-site name Also, in templates with http to https Also, I add in my public_html directory (I have a vbadvanced) and in my forum directory, in .httacess this code: Code:
RewriteCond %{HTTPS} !=on RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] Well, access with https but also chrome, like firefox like chromium indicate that, my syte are not secure. I search and search, but I don't view how are the problem or the issue for this. Thanks in advanced. |
#2
|
|||
|
|||
Hi
There shouldn't be any need to alter any templates? Try this for your htaccess: Change flipfloptrader to your url name. Code:
#RewriteEngine On RewriteEngine On RewriteCond %{HTTP_HOST} www.flipfloptrader.com$ RewriteRule ^(.*)$ https://flipfloptrader.com/$1 [R=301,L] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://flipfloptrader.com/$1 [R,L] ExpiresActive Off |
Благодарность от: | ||
gnrx |
#3
|
|||
|
|||
In the first time, thank you for your help.
Yes, in templates I made some changes, and in stylevar I change the http to https for url images. In templates I made this: search for src="http: in admincp->Search in Templates and then replace for https Quote:
Well, this change, in this 2 .htaccess? If its yes, I deduce that, the url https://flipfloptrader.com/ I need change for https://flipfloptrader.com/forum under .htaccess in my forum folder, its correct? Thank you very much! --------------- Added [DATE]1494417826[/DATE] at [TIME]1494417826[/TIME] --------------- Hello again, I t est with your code, and I have a error, because un public_html directory, I have redirect from https://mydomain to https://www.mydomain This are the codes: htaccess of public_html: Code:
RewriteCond %{HTTPS} !=on RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteCond %{HTTP_HOST} ^mydomain\.com RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^(.*)$ https://www.mydomain.com/$1 [R=301,L] Code:
RewriteCond %{HTTPS} !=on RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] |
#4
|
|||
|
|||
Try this:
Code:
#RewriteEngine On RewriteEngine On RewriteCond %{HTTP_HOST} flipfloptrader.com$ RewriteRule ^(.*)$ https://www.flipfloptrader.com/$1 [R=301,L] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.flipfloptrader.com/$1 [R,L] |
#5
|
|||
|
|||
I try this code in my public_html folder (folder of vBAdvanced) and not works my site (enter in bucle mode).
Also, try this code in my public_html/forum folder, load website but continue appears like not secure. Also, I contact with my host for if can help me. Thank you very much! --------------- Added [DATE]1494425777[/DATE] at [TIME]1494425777[/TIME] --------------- Edit/Add: In this moment, I view that, the problem appears that the site is not secure appears in index of forum, in some subforums also, but in others not appears, and in the threads (that I test) not appears. I review all images in index forum and all point to https. --------------- Added [DATE]1494433886[/DATE] at [TIME]1494433886[/TIME] --------------- Well, my hosting not provide support for this redirects. At the moment, your code works in my public_html folder, but in my public_html/forum folder not works because I suppose this code need are different. Regards! |
#6
|
||||
|
||||
Here you go
Code:
RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] |
3 благодарности(ей) от: | ||
gnrx, Kane@airrifle, Lynne |
#7
|
|||
|
|||
Would help if we had a link to the site.
|
#8
|
|||
|
|||
Wow, works fine fine, perfect!
I add this code in my 2 .htaccess (public_html and public_html/forum) and works really nice!! Change http for https and add www if I not type. Now, go to search the reasson because, in the index forum appears Not Secure, but in subforums appears Secure Site. Thank you very much!!!!!! |
Благодарность от: | ||
Stratis |
#9
|
|||
|
|||
Also, solved last issue (index forum appears Not Secure and in subforums appears Secure Site).
The problem was, in the index forum, I have some blocks, one of this blocks contain http code, but I was changed to https, with this change, continue with No Secure Site. I deleted this block and now, my index forum appears Secure Site. Thank you at all! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|