The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Http to Https redirect
3 Days ago i change http to https after i see when enter the name or check any url from google and the open it i see he use http only and the after i click the logo the i see https its mean links not redirecting http to https opening in first time via search from google and other search engines.
how to redirect |
#2
|
||||
|
||||
You can try something like this in your .htaccess.
Code:
RewriteEngine on RewriteCond %{HTTP_HOST} ^yourwebsite\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.yourwebsite\.com$ RewriteRule ^(.*)$ "https\:\/\/yourwebsite\.com\/$1" [R=301,L] |
#3
|
||||
|
||||
Https will not improve more your SEO rankings
BTW, Thanks ozzy47 for the codes |
#4
|
||||
|
||||
The OP said nothing about rankings.
Hopefully they code does work, been awhile since I work on a site that needed it. |
#5
|
|||
|
|||
https grow the ranking
Thanks Ozzy let me try can you tell me 1 thing where i put this code in htaccess in start or the end |
#6
|
||||
|
||||
Try in the beginning first.
|
#7
|
|||
|
|||
Oops code is not working
|
#8
|
||||
|
||||
Hmmm, try this then.
Code:
RewriteCond %{HTTPS}=on RewriteRule ^(.*)$ https://www.yourwebsite.com/$1 [R=301,L] |
#9
|
|||
|
|||
Google showing my new links with Https and old is not.
when i check my old link in google and then i open it still showing Http. after i click in the forum of any link he is showing https why redirecting not working |
#10
|
||||
|
||||
Ok one more time.
Code:
# Ensure we are using HTTPS version of the site. RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|