Change 302 to 301 redirect

February 22, 2018 2.2k views
Server Optimization

Hello! Total novice here, so excuse my ignorance.

I had a contractor log onto my server to set up 301 redirects from http to https. I have just realized that he set up 302 redirects instead, and for SEO would prefer 301s.

I know how to log onto my server, but can't figure out what command I need to write to change the redirect method.

Thanks in advance!

1 Answer

NGINX or Apache?

Have another answer? Share your knowledge.