Forum Moderators: Robert Charlton & goodroi
RewriteEngine On
# Redirect ANY HTTP request to https and www
RewriteCond %{SERVER_PORT} =80 [OR]
RewriteCond %{HTTP_HOST} !^(www\.example\.com)?$
RewriteRule (.*) https://www.example.com/$1 [R=301,L]
So. Tell me, are these identical or different links, from these two pages:
You are not following me. Not YOUR site links. External links, which is what Penguin is about. Doesn't matter how correct your redirects are.I understood what you were saying and it isn't accurate. Switching to HTTPS does not affect your backlinks. It does not affect your external backlinks. It does not affect those backlinks that may have switched to HTTPS either if you properly compiled your disavow links file without using protocols.
o, as soon as THAT SITE (not yours) switched to https, Penguin is recording a second negative link, from
https://www.example.com/page1.html to your site.
That's -2.
I bet main algo, Penguin, Panda, and maybe even their magic AI are separate databases.These are algorithm updates.
when you switch to HTTPS don't redirect anything, just make the HTTP side disappear (410Bad advice.... you'd lose traffic from all existing backlinks and a lot more.
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]Note: your server may require a different code The 301 redirect is considered a best practice for upgrading users from HTTP to HTTPS.[1] RFC 2616 states that:
If a client has link-editing capabilities, it should update all references to the Request URL.
The response is cachable.[2]
Unless the request method was HEAD, the entity should contain a small hypertext note with a hyperlink to the new URL(s).
If the 301 status code is received in response to a request of any type other than GET or HEAD, the client must ask the user before redirecting.
keyplry, apparently humor and satire are not in your vocabulary.
That's postulating a pretty dimwitted algorithm, isn't it?