One thing you have to look at is whether it's a wildcard certificate (or wildcard ) or not, that is, if it allows you to have several domains / subdomains under the same certificate and which domains are going to be included in the SSL certificate.
For example, I have a certificate that covers up to 5 domains, so to "save domains" what I do is that I only include the link but do not link (with www.
).
That I get by putting the following in the .htaccess (I have mydomain.com in the mydomain folder):
Options +FollowSymLinks -MultiViews
# Activar mod_rewrite
RewriteEngine On
RewriteBase /midominio/
# quitar el www y redirigir a https
RewriteCond %{THE_REQUEST} \s/+midominio/(\S*)\s [NC]
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule ^ https://midominio.com/%{REQUEST_URI} [R=301,NE,L]
On whether it affects the indexing of pages, yes and no. The search engines will have your version http://
indexed, but since you have a redirection of http
to https
your users will not notice any problem, and the next time your website is indexed, as you have put a redirection permanent (301), the search engine will index the page https
correctly.