In the first time, thank you for your help.
Quote:
Originally Posted by Flipfloptrader
Hi
There shouldn't be any need to alter any templates?
|
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:
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
|
A doubt, I have 2 .htaccess, one in my public_html directory (I have vbadvanced) with my code in .htaccess if I access to public_html (portal of vbadvanced) indicate that, my site its secure, when click in forum (folder forum under public_html) appears not secure.
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]
And this, htaccess from my forum directory:
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]
Thanks in advanced.