vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   SSL on vb5 (https://vborg.vbsupport.ru/showthread.php?t=320763)

dwkerr 11-11-2015 08:12 PM

SSL on vb5
 
I have an ssl certificate on

www.selfhelpwithmore.com

Now in the root I have an .htaccess file that forces https on the whole site.

Now the forums are in
www.selfhelpwithmore.com/ez-forums

vb5 has its own .htaccess file in the ez-forums directory.

Now what the issue is when you go to

www.selfhelpwithmore.com/ez-forums

it does not go to https

but as soon as you click on anything in the forums it does go to https

I would like it to go to https even if doing a direct link at

www.selfhelpwithmore.com/ez-forums

Is the vb5 .htaccess countering the .htacess in the root directory of the site??

even though I changed the urls in the admin panel it will go https as soon as anything is clicked on, I would like it https as soon a you go to the forum page by a direct link.

shimei 11-11-2015 08:40 PM

I added to my .htaccess the following: Redirect to https with .htaccess with a specific domain

Change my domain to yours.

Hope this help,
Shim

dwkerr 11-12-2015 08:52 PM

I had similiar code. What appears to happen is if there is a .htaccess in sub folder it replaces the .htaccess in the root of the site. So in addition to forcing https in the root for the entire site, I had too add the code in that sub folder .htaccess file to force https in the sub folder

shimei 11-12-2015 10:09 PM

That is correct. I have two domains, one running from root and the other from a subfolder. The code I provided only directs the root and allows a subfolder to run its own .htaccess rule.


All times are GMT. The time now is 03:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00911 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete