Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 08 Mar 2020, 13:52
Silmarillion's Avatar
Silmarillion Silmarillion is offline
 
Join Date: Jul 2004
Real name: Chris
Question 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!
Reply With Quote
  #2  
Old 08 Mar 2020, 18:44
PinkMilk PinkMilk is offline
 
Join Date: May 2010
Real name: Milk Pink
Change your urls to https in Admincp:

vBulletin Options > Site Name / URL / Contact Details
  • Forum URL
  • Homepage URL

Then rebuild styles:
Maintenance > Update Counters > Rebuild Styles
Reply With Quote
  #3  
Old 08 Mar 2020, 18:56
Silmarillion's Avatar
Silmarillion Silmarillion is offline
 
Join Date: Jul 2004
Real name: Chris
I have made al lot of template-modifications, PinkMilk. Can that cause any problems?

btw - here is my htaccess:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Would'nt it make sense to force all pages here via https? Unfortunately i don't know how to change the file.

Best regards!
Reply With Quote
  #4  
Old 09 Mar 2020, 09:04
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
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


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #5  
Old 09 Mar 2020, 13:44
Silmarillion's Avatar
Silmarillion Silmarillion is offline
 
Join Date: Jul 2004
Real name: Chris
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!
Reply With Quote
  #6  
Old 09 Mar 2020, 13:46
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
You should create a "Replacement Variable" under AdminCP -> Styles and Templates -> Replacement Variable Manager that rewrites http://yourdomain.com to https://yourdomain.com.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #7  
Old 09 Mar 2020, 14:36
Silmarillion's Avatar
Silmarillion Silmarillion is offline
 
Join Date: Jul 2004
Real name: Chris
Originally Posted by Dave View Post
You should create a "Replacement Variable" under AdminCP -> Styles and Templates -> Replacement Variable Manager that rewrites http://yourdomain.com to https://yourdomain.com.
Done! But the problem is still the same.

Things i have done:
  • turn ON "automatic https" (Cloudflare)
  • turn ON "everwhere https" (Cloudflare)
  • "rebuild styles"
  • new RW-Condition/Rule htaccess (found the code at cloudflare)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Crazy! I bet it's a very simple error...

Best regards!
Reply With Quote
  #8  
Old 09 Mar 2020, 14:56
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
Did you apply the replacement variable rule to the proper style(s)? That feature has never failed me before.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #9  
Old 09 Mar 2020, 17:33
Silmarillion's Avatar
Silmarillion Silmarillion is offline
 
Join Date: Jul 2004
Real name: Chris
Originally Posted by Dave View Post
Did you apply the replacement variable rule to the proper style(s)? That feature has never failed me before.
Hello Dave,

i have tested it with the Forum-Standardstyle, yes.

Best regards!
Reply With Quote
  #10  
Old 09 Mar 2020, 18:05
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
Can you post a link to the forum with the issue here? At this point it's turning into a guessing game.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #11  
Old 09 Mar 2020, 19:13
Silmarillion's Avatar
Silmarillion Silmarillion is offline
 
Join Date: Jul 2004
Real name: Chris
I send u PM, Dave.

Best regards!
Reply With Quote
  #12  
Old 09 Mar 2020, 19:51
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
I had a look and to me the site is actually loaded over HTTPS but there are third party resources such as images and other embedded content that are loaded over HTTP which makes browsers show that the connection is not secure (even though HTTPS is still present in the URL)

You can try this plugin https://www.vbulletin.org/forum/showthread.php?t=288060 which is for vBulletin 4, but it has a comment that explains how to make it work on vBulletin 3 at https://www.vbulletin.org/forum/show...87#post2411587

You should also add
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to the header.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #13  
Old 09 Mar 2020, 19:52
Silmarillion's Avatar
Silmarillion Silmarillion is offline
 
Join Date: Jul 2004
Real name: Chris
Ok! Thank you very much, Dave. I'll give it a try.

Best regards!
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 16:25.

Layout Options | Width: Wide Color: