The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
After switching to https Problems wiht "last post-link"
Hello everybody,
since i am using https i have the following problem: by clicking the "Go To Last Post" link from the Homepage you are always redirect to the non https-adress of the respective link-adress. If you are doing the same from the threadlist (forumdisplay) everything is ok. Wheres the problem? Any ideas? Best regards! |
#2
|
|||
|
|||
Change your urls to https in Admincp:
vBulletin Options > Site Name / URL / Contact Details
Then rebuild styles: Maintenance > Update Counters > Rebuild Styles |
#3
|
||||
|
||||
I have made al lot of template-modifications, PinkMilk. Can that cause any problems?
btw - here is my htaccess: PHP Code:
Best regards! |
#4
|
|||
|
|||
Templates shouldnt have hard coded links with http in them.
But you have to change what PinkMilk stated your URL setting. You also wont need to the rewrite if everything is correct in the url setting & templates arent using hard coded links. Once you fix the basics, use this format in htaccess Code:
RewriteCond %{HTTP_HOST} ^xxxxx\.com$ [OR] RewriteCond %{HTTPS} !on RewriteRule ^(.*)$ https://www.xxxxxxx.com/$1 [R,L] |
#5
|
||||
|
||||
Thanks for your Help, PinkMilk and snakes.
I have done/tried your tipps, but that does not resolve the problem. Every single Link is working fine (https), except the "Go To Last Post" link from the Homepage. There must be a problem with the link-structure/Condition from the Homepage? Where is the different to the "Last Post Links" from the Forumdisplay/Threadbit? Best regards! |
#6
|
|||
|
|||
You should create a "Replacement Variable" under AdminCP -> Styles and Templates -> Replacement Variable Manager that rewrites http://yourdomain.com to https://yourdomain.com.
|
#7
|
||||
|
||||
Quote:
Things i have done:
Code:
RewriteEngine On RewriteCond %{HTTPS} !on RewriteCond %{SERVER_PORT} !^443$ RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
Crazy! I bet it's a very simple error... Best regards! |
#8
|
|||
|
|||
Did you apply the replacement variable rule to the proper style(s)? That feature has never failed me before.
|
#9
|
||||
|
||||
Quote:
i have tested it with the Forum-Standardstyle, yes. Best regards! |
#10
|
|||
|
|||
Can you post a link to the forum with the issue here? At this point it's turning into a guessing game.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|