After following https://www.vbulletin.com/forum/arti...forum-to-https letter by letter, I still need to define the correct rewrite rules for my Apache. After a few hours of poking at the server, I am giving up. vBulletin is not providing me with the login form. The sample rules in the default .htaccess file do not work.
Unable to find correct Apache .htaccess rules for switchover to https
Collapse
X
-
Change the setting in admincp settings/Site Name/URL/Contact Details
Change the top 3 entries to https://yourdoman.com
This should then switch over to https https
-
Thank you for trying to help, but that's already describes in https://www.vbulletin.com/forum/arti...forum-to-https and I did follow the procedure letter by letter. It will switch over the forum and then mess up the login form, because an additional redirect is needed, as is also described in that forumComment
-
You should have the following in your .htaccess file:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^(www\.)?yourURL\.com
RewriteRule ^(.*)$ https://www.yourURL.com/$1 [R,L]Comment
-
If the rules provided in the .htaccess file that we provide do not work, then you will need to discuss this with your server administrator. What we provide should work in Apache 2.4. You simply need to uncomment the lines by removing the # at the beginning so it looks like this:
Code:#To redirect users to the secure version of your site, uncomment the lines below RewriteCond %{HTTPS} !=on RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
Code:<!-- Remove this line for secure server redirection <rule name="Redirect to https" stopProcessing="true"> <match url=".*" /> <conditions> <add input="{HTTPS}" pattern="off" ignoreCase="true" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" /> </rule> Remove this line for secure server redirection -->
Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
Related Topics
Collapse
-
by CraigI'm not at all familiar working with htaccess. But I recently set my site to ssl and want to redirect. I have found the redirect code for http to https, but which htaccess file gets modified ( I assume...
-
Channel: Support Issues & Questions
Fri 17 Mar '17, 2:17am -
-
by rustybucketI searched the forum and couldn't find an answer to this question, so I thought I would through this out here:
On bighuskerfan.com/vbbs, if I have "Route Channels and Conversations by...-
Channel: Support Issues & Questions
Wed 2 Aug '17, 5:16am -
-
by blade00Hi, I tried to switch from http to https protocol, the SSL certificate has already been installed from the hoster.
When I try to change the 3 addresses from http to https on vbulletin admin options...-
Channel: Support Issues & Questions
Wed 19 Jul '17, 1:38am -
Comment