Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 11 Nov 2015, 21:12
dwkerr dwkerr is offline
 
Join Date: Oct 2003
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.
Reply With Quote
  #2  
Old 11 Nov 2015, 21:40
shimei shimei is offline
 
Join Date: Feb 2015
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
Reply With Quote
  #3  
Old 12 Nov 2015, 21:52
dwkerr dwkerr is offline
 
Join Date: Oct 2003
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
Reply With Quote
  #4  
Old 12 Nov 2015, 23:09
shimei shimei is offline
 
Join Date: Feb 2015
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.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 20:35.

Layout Options | Width: Wide Color: