Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #21  
Old 10-15-2013, 01:32 AM
findingpeace's Avatar
findingpeace findingpeace is offline
 
Join Date: Nov 2011
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great! Check out http://gunsgrubandgold.com now

It goes to https://www.gunsgrubandgold.com for me

Last one that still isn't working:

http://www.gunsgrubandgold.com does not go to https.

At the very, very end of your .htaccess, could you uncomment this:

Code:
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Reply With Quote
  #22  
Old 10-15-2013, 01:33 AM
pityocamptes's Avatar
pityocamptes pityocamptes is offline
 
Join Date: Apr 2010
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok changed it

--------------- Added [DATE]1381804476[/DATE] at [TIME]1381804476[/TIME] ---------------

Looks like it blew up...
Reply With Quote
  #23  
Old 10-15-2013, 01:36 AM
findingpeace's Avatar
findingpeace findingpeace is offline
 
Join Date: Nov 2011
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, got the error - let's uncomment again. Let me figure out what it's clashing with.

Will post back in a sec- Thanks!
Reply With Quote
  #24  
Old 10-15-2013, 01:37 AM
pityocamptes's Avatar
pityocamptes pityocamptes is offline
 
Join Date: Apr 2010
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, Thanks!!! Will be waiting...
Reply With Quote
  #25  
Old 10-15-2013, 01:43 AM
findingpeace's Avatar
findingpeace findingpeace is offline
 
Join Date: Nov 2011
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you try putting this at the bottom of .htaccess?

Code:
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ https://www.gunsgrubandgold.com%{REQUEST_URI}
--------------- Added [DATE]1381805596[/DATE] at [TIME]1381805596[/TIME] ---------------

If that one doesn't work, try this one instead. Put it up top, right beneath our other top rule

Code:
RewriteCond %{HTTP_HOST} http://www.gunsgrubandgold.com$ [NC]
RewriteRule ^(.*)$ https://www.gunsgrubandgold.com/$1 [R=301,L]
Going to bed now - good luck, you're almost there! In the end, every one of the
following URLs should be going to https://www.gunsgrubandgold.com:

https://www.gunsgrubandgold.com
http://gunsgrubandgold.com
https://gunsgrubandgold.com
http://www.gunsgrubandgold.com

So far, we've got all but that last one
Reply With Quote
  #26  
Old 10-15-2013, 02:04 AM
pityocamptes's Avatar
pityocamptes pityocamptes is offline
 
Join Date: Apr 2010
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. The last one still does not redirect to https... thx Here is the htaccess:

RewriteEngine on

RewriteCond %{HTTP_HOST} !^www.XXXXXXXXXXXXX.com$ [NC]
RewriteRule ^(.*)$ https://www.XXXXXXXXXXXXXX.com/$1 [R=301,L]

RewriteEngine on

RewriteCond %{HTTP_HOST} http://www.XXXXXXXXXX.com$ [NC]
RewriteRule ^(.*)$ https://www.XXXXXXXXXXXXXXXXX.com/$1 [R=301,L]
Reply With Quote
  #27  
Old 10-15-2013, 02:09 AM
findingpeace's Avatar
findingpeace findingpeace is offline
 
Join Date: Nov 2011
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Redirects for me! Try in an incognito tab, so nothing is cached. I think you are good to go Click this one:

http://www.gunsgrubandgold.com

--------------- Added [DATE]1381806594[/DATE] at [TIME]1381806594[/TIME] ---------------

Oops, it was working a second ago - back to http now. Did you change anything recently?
Reply With Quote
  #28  
Old 10-15-2013, 02:12 AM
pityocamptes's Avatar
pityocamptes pityocamptes is offline
 
Join Date: Apr 2010
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea, damn, what should I change back the first or the second?
Reply With Quote
  #29  
Old 10-15-2013, 02:13 AM
findingpeace's Avatar
findingpeace findingpeace is offline
 
Join Date: Nov 2011
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just try each of these (individually)

https://vborg.vbsupport.ru/showpost....4&postcount=25

Save .htaccess, then click this link:

http://www.gunsgrubandgold.com

One of them was properly redirecting that to https
Reply With Quote
  #30  
Old 10-15-2013, 02:14 AM
pityocamptes's Avatar
pityocamptes pityocamptes is offline
 
Join Date: Apr 2010
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it! I added this under the first rule:

RewriteCond %{SERVER_PORT} !443
RewriteRule (.*) https://www.gunsgrubandgold.com [R=301,L]

Does it work for you now?

--------------- Added [DATE]1381806956[/DATE] at [TIME]1381806956[/TIME] ---------------

Thanks! I think that fixed the redirect error when logging in when I would put www.gunsgrubandgold.com in the browser

--------------- Added [DATE]1381806996[/DATE] at [TIME]1381806996[/TIME] ---------------

Please confirm that t works. The reason I was asking is should I go through this post and delete the htaccess info, is it a security risk? Thanks.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07134 seconds
  • Memory Usage 2,256KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete