My server manager updated our site to use https site-wide. Now all of our search results redirect to the home page. We don't want to lose our ranking, which is currently very high. How can I fix this?

1 Answer 1


I found the answer: https://magento.stackexchange.com/a/107086/26062

I added the following to .htaccess

RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
  • Feel free to accept your own answer, perfectly allowed by the agreements here.
    – B00MER
    Commented Feb 11, 2017 at 22:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.