• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Redirect mess

dethfire

Well-known member
#1
Here is my current redirect setup. It doesn't seem optimal at all.

http://www.physicsforums.com/showthread.php?t=99506 > 307 > https://www.physicsforums.com/showthread.php?t=99506 > 301 > https://www.physicsforums.com/threads/99506/ > 301
> https://www.physicsforums.com/threads/find-spring-constant-of-spring-in-n-m-help.99506/

I have the vb 3.7 redirection addon and here is my htaccess redirects

RewriteCond %{HTTPS} !on [OR]
RewriteCond %{HTTP_HOST} !^www\.physicsforums\.com$
RewriteRule (.*) https://www.physicsforums.com/$1 [R=301,L]

Why the 307 into the https and then a 301 into an intermediary format and then finally into what I have in my settings. I feel like I can reduce this by a redirect or two.
 

Mike

XenForo developer
Staff member
#2
I think the 307 is actually an internal thing in Chrome because you have HSTS configured; it doesn't appear to be coming from the server.
 

dethfire

Well-known member
#3
Are the other two redirects due to the vb3.7 redirects or from the friendly url option or both? I guess what I am getting at is, is this problematic at all? Search engines won't think it's funny?
 

Mike

XenForo developer
Staff member
#4
The other 2 are based on vB redirects, yes; we don't redirect to the version with the title until we know the user can view it.

I suppose reducing the redirects is useful, but it shouldn't prevent a search engine from following it.