Skip to main content

Redirects - Allow setting HTTP status code

When setting a URL redirect, expand to have the ability to enter if the code is a 302 (temporary) or a 301 (permanent)

Status: Completed6 comments

Log in to comment and vote

Comments6

  • Matt Walter changed status to Completed
    Team•

    Dec 10, 2020

    Covered in today's release notes here -> http://help.siteglide.com/en/articles/4710906

  • Matt Walter

    Team•

    Nov 18, 2020

  • Helen Eichel

    •

    Sep 11, 2020

    Dean, could you please let us know how to use CLI to make the redirects 301? Thanks very much

    • Dean Vizer

      •

      Sep 14, 2020

      Helen Eichel: After pulling the site, the redirects are stored in:
      /views/pages/redirects
      Within the YML if each file you can add:
      redirect_code: 301
      into the YML on a new line to change the HTTP status

    • Helen Eichel

      •

      Sep 22, 2020

      Dean Vizer: Thanks Dean

  • Mark Patton

    •

    Feb 19, 2020

    It's very rare to ever need a 302. Best to just make it always a 301.