Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my .htaccess, I am forwarding all non secure traffic to https:

RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://site.com/$1 [R=permanent]

My website still hasn't been indexed yet and when I check link:mysite.com, nothing shows up. Why might that be?

share|improve this question

Does https affect me from being indexed?


My website still hasn't been indexed yet and when I check link:mysite.com, nothing shows up. Why might that be?

link:mysite.com it might take ages to show something (and it never shwows all links to your site), add your site to Google Webmaster tools, IMHO it's the place where you first see what pages of your site were indexed by Google (eventually after adding site to Google Webmaster tools, submit aslo a sitemap, it will make your site to be indexed even faster)

share|improve this answer

Generally HTTPS and HTTP shouldn't effect your SEO since they are not duplicates since http, and https are just different protocals so to speak. However with this said I have seen my own site with my very own eyes things being indexed as HTTPS and other pages as HTTP. I believe this happens when someone links to the HTTPS and its not yet indexed by Google.

To avoid these situations you should use REL Canonical on your pages, by doing so regardless how people link to it, or if Google crawls it then it will tell Google and other searches engines wait a minute this isn't the MASTER page your viewing and tell Google and co which is.

<link rel="canonical" href="http://www.yourdomain.com/url/to/page" />

There are lots of SEO modules, plugins, addons, and components which will do this for you if your using a open source engine such as Joomla, Drupal, Wordpress and plenty more. A few names are Yoast SEO for Wordpress, and SH404SEF or AceSEF for Joomla.

If you wish to read more benefits about REL canonical I suggest you take a look at Canonical Urls. In this day and age using htaccess to block Google isn't the way to go since you may just end up with other urls and besides.. Isn't people being able to use your site securely if they want to a good thing? HTTPS one day will become the standard and with more and more Content Delivery Networks using HTTPS/HTTP its only a matter of time until everyone is using it. Well maybe in the next 5 years but ya! you get the point. HTTPS is useful and some people use it ;)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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