The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Try this my Man ....
Code:
# Always use https for secure connections # Replace 'www.example.com' with your domain name # (as it appears on your SSL certificate) RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R=301,L] RewriteCond %{HTTP_HOST} ^yoursite.com$ RewriteRule ^(.*)$ "https\:\/\/www\.yoursite\.com\/$1" [R=301,L] # To redirect both www and non www RewriteCond %{HTTP_HOST} ^yoursite\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.yoursite\.com$ RewriteRule ^/?$ "https\:\/\/www\.yoursite\.com" [R=301,L] |
3 благодарности(ей) от: | ||
kylek, MarkFL, RichieBoy67 |
#12
|
|||
|
|||
I also encountered problems in the AdminCP with HTTPS and Cloudflare. This is what I had to change:
/admincp/index.php look around line 495, and replace the $mainframe variable with PHP Code:
|
Благодарность от: | ||
RichieBoy67 |
#13
|
||||
|
||||
Thanks brother,
I tried that one earlier and I could not get on. I have to look at the rest of my htaccess. I have decided to revert my main url's back to http for now.. Too many issues and some of them may be from Cloudflare. Thought I had this almost done but Chrome was giving me major issues. As of right now my ads are using https as are other components though the main urls are still http. PITA.. Thanks for the assistance bro --------------- Added [DATE]1480630464[/DATE] at [TIME]1480630464[/TIME] --------------- Quote:
Thanks --------------- Added [DATE]1480630717[/DATE] at [TIME]1480630717[/TIME] --------------- Quote:
|
#14
|
|||
|
|||
Quote:
|
#15
|
||||
|
||||
Thanks, I will give this another go in a few minutes.
Any idea as to what was messing up my htaccess redirects? I tried Cheech's above and I had this one as well: RewriteEngine On RewriteCond %{HTTPS} on RewriteCond %{HTTP_HOST} ^www\.(.*) RewriteRule ^(.*)$ https://%1/$1 [R=301,L] neither of these worked and gave me redirect errors.. Thanks again guys, Rich |
#16
|
||||
|
||||
Ah yeah ! I had cloudflare too and it didn't work with the https ... they do say it has problems with it for some reason ... sorry my Man ...
|
#17
|
||||
|
||||
Quote:
--------------- Added [DATE]1480635993[/DATE] at [TIME]1480635993[/TIME] --------------- I like Cloudflare but the plan I have is currently $20 The next one up is $200. I think that is the plan I need to use my own cert that I already have..I think my issue is that I need to use their cert. |
#18
|
||||
|
||||
Yeah I think so too ... that is what I remember from talking with hostgator about it all ...
|
#19
|
|||
|
|||
I've used without issue in the past :
Code:
RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://YOURSITE$1 [R,L] RewriteCond %{HTTP_HOST} !^$ RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteCond %{HTTPS}s ^on(s)| RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] |
2 благодарности(ей) от: | ||
RichieBoy67, shimei |
#20
|
||||
|
||||
Looks like they will get me for another $5 per month just to use a decent cert from them.. I think that will do the trick though.
Will still need to figure out my htaccess but that should do it hopefully.. --------------- Added [DATE]1480636366[/DATE] at [TIME]1480636366[/TIME] --------------- Quote:
I already have everything bypassed for admincp. --------------- Added [DATE]1480636898[/DATE] at [TIME]1480636898[/TIME] --------------- I cannot understand why everything is messed up in Chrome.. looks like my entire theme is screwed up. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|