3 ms·
> return 301 https://$host$request_uri; https://$host$request_uri; Don't do this. After I did it, my 3 websites were completely wiped-out from search result
by akerro 10y ago
> return 301 https://$host$request_uri; https://$host$request_uri;
Don't do this. After I did it, my 3 websites were completely wiped-out from search results. From 3k UU to 20-30UU /day.
- wanda 10y agoDid you also set your website up with Google Webmaster Tools to register the 301?
- akerro 10y agoNo, I don't have google account and was never registered there. I don't want any US corporation or government to spy on my visitors.
- nathancahill 10y agoThat's a hard argument to stand on, considering that your search traffic is coming from Google.
- akerro 10y agoAlso form: bing, baidu, duckduckgo, yahoo. My posts were many times on reddit and in 3 years I've been 4 times on HN with +500 upvotes. Currently 1-3 visitors per day come from search results, 0 or 1 are from google. I use goaccess and piwik.
- pfg 10y agoAny chance this is a tracking issue? You might be losing referer information because of the 301, see [1]. [1]: http://piwik.org/faq/troubleshooting/#faq_51 http://piwik.org/faq/troubleshooting/#faq_51
- webtechgal 10y agoI disagree. A site can get (a decent amount of) traffic from Google even without giving it (Google) the open access to ALL the activity taking place on the site by way of using the Webmaster Tools.
- nathancahill 10y agoThat's.. not how Google Webmaster works.
- webtechgal 10y agoSorry to hear that, but academically very interesting. Did you try to recover the traffic? If yes, what did you try and did it work? Also, after setting the permanent redirect, I believe it would be a good idea to update the internal navigation of the site so that all links are formed with https. That way, both the crawlers and the web server will have less work to do and eventually, the entire site will be indexed/updated in the search engines with the https protocol.
- akerro 10y agoI updated all navigation, RSS, links to images, menu, search, sitemap, everything. Dump of my site didn't contain any 'http' link to the same domain. nginx was redirecting everything with 301. I let once website work on http and https and made most links protocol-independent, only site map and search results are forced to https. There was a thread about it on reddit where a few more people said the same. I slightly recovered from it, got 101 UU yesterday.
- webtechgal 10y agoHow long since you changed to https? It may take Google a few weeks to fully recognize the changed/redirected URLs. During this period, the rankings frequently drop but once everything settles down, the rankings and traffic should gradually come back to normal. If it has been a while (at least a month or two) since the changes were made and the traffic has not returned, that would be a cause for concern.
- akerro 10y agoI switched to full HTTPS in January/February (depends which domain), by end of April I had less than 100UU/day from search results.
- webtechgal 10y agoAnd before the switch, the traffic used to be around 3k UV/day? If so, this is definitely a (big) problem. If you share your URL, I'll take a look and give you some input.
- StavrosK 10y agoThe things that can make your website drop seem random. I had my visitors plummet after a redesign, even though I kept most of the URLs and redirected the old ones properly. Things never recovered, I don't know why, since I was serving the exact same content as before.
- mwpmaybe 10y agoThis recently changed. Google is no longer penalizing redirects, and is in fact rewarding http->https redirects. Hopefully other search engines will follow suit. https://moz.com/blog/301-redirection-rules-for-seo https://moz.com/blog/301-redirection-rules-for-seo