1. 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

Discussion in 'Troubleshooting and Problems' started by dethfire, Jan 21, 2015.

  1. dethfire

    dethfire Well-Known Member

    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.
  2. Mike

    Mike XenForo Developer Staff Member

    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 likes this.
  3. dethfire

    dethfire Well-Known Member

    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?
  4. Mike

    Mike XenForo Developer Staff Member

    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.
    dethfire likes this.

Share This Page