Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 18 Sep 2018, 13:00
Wolver2 Wolver2 is offline
 
Join Date: Oct 2010
force https with www

I set my vbulletin to https://www.domain.com via cloudflare.
In the forum url settings I also set the same.

Sadly my old members bookmarked the forum as http://domain.com
it forwards them to https://domain.com instead of https://www.domains.com

and multiple mods are not working....

how can i make forward everyone to https and www.?

maybe via .htaccess
Reply With Quote
  #2  
Old 18 Sep 2018, 13:48
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Real name: Kris
Add the following: (Do not duplicate the RewriteEngine On - If it's there once that's good enough)

RewriteEngine On
# This will enable the Rewrite capabilities

RewriteCond %{SERVER_PORT} 80
# This checks to make sure the connection is not already HTTPS – port 80 indicates a non-secured HTTP conection.

RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]
# This rule will redirect users from their original location to the same location but using HTTPS.
# Example: Visitors trying to access http://www.domain.com/somesubsection/ will be redirected to https://www.domain.com/somesubsection/
Reply With Quote
  #3  
Old 19 Sep 2018, 17:01
Stratis's Avatar
Stratis Stratis is online now
 
Join Date: Jan 2010
Real name: Stratis
https://www.vbulletin.org/forum/show...59&postcount=6
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 11:00.

Layout Options | Width: Wide Color: