Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


About redirection
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

About redirection

kamalkamal Member

I have a WordPress site that had good ranking.
I installed SSL and redirected it to https using the following

RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysite.com [NC]
RewriteRule ^(.*)$ https://www.mysite.com/$1 [L,R=301]

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Now it redirects
http://mysite.com
to https://www.mysite.com/

and because of this I am loosing ranking is there anything I can do ? please suggest

Thank you

Comments

  • WSSWSS Member

    Turn it off.

    No- seriously.

    Thanked by 1Aidan
  • A few months ago I activated SSL on all of my sites with automatic http to https (.htaccess) and I ain't got no ranking drops, one site is without redirection and now google indexed the HTTPS version.

  • Add https version in webmasters panel. Wait for some time and you'll get Rankin back

  • CConnerCConner Member, Host Rep

    Use HTTP status code 302 instead of 301. 302 tells Google that the site has "moved" to the HTTPS version. 301 simply tells there is a redirect.

  • @CConner said:
    Use HTTP status code 302 instead of 301. 302 tells Google that the site has "moved" to the HTTPS version. 301 simply tells there is a redirect.

    Does 302 not tell it's temporary? While 301 is permanent

  • CConnerCConner Member, Host Rep

    jetchirag said: Does 302 not tell it's temporary? While 301 is permanent

    One source says it does, some others say it does not.

    CConner said: 302 tells Google that the site has "moved" to the HTTPS version. 301 simply tells there is a redirect.

    That still applies.

  • hmmmm , maybe HSTS ?

    just set up header with HSTS , and then next time all and every request browser send will be automatically upgraded into HTTPS

  • It happens for sometime because when you redirect http urls to https then google will take time to crawl new urls so wait for some time. Before how much time have you redirected website from http to https?

  • @JamesK said:
    It happens for sometime because when you redirect http urls to https then google will take time to crawl new urls so wait for some time. Before how much time have you redirected website from http to https?

    Exactly. Additionally, adding https version in webmasters isn't a bad idea as well

Sign In or Register to comment.