Forum Moderators: phranque
This page is indexed and I have various links about the web so I can't just change it to https and would prefer visitors see the secure version of it on my site.
Any ideas?
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} /page.htm
RewriteRule ^(.*)$ https://example.com/page.htm [R=301,L]
Using a 301 will instruct the search engines that your page has been permanently moved to the new location and I think most of them are smart enough now to basically transfer your placements and rankings to the destination of the redirect.
Are you prepared to take the performance hit from showing all pages on the secure server? Secure pages are much slower than non-secure pages, it may be a better idea to display secure pages only when required.
This page has a form on it where people can submit their info, I thought perhaps I would get more submissions if the page were secure.
Worth testing at least I'd think.
luke175 said: This page has a form on it where people can submit their info, I thought perhaps I would get more submissions if the page were secure.
Just my opinion, of course; I could be wrong....
Eliz.
ok so I have a similar problem, I have an account management page...since this is e-commerce this needs to be a secure page (this is also where orders and such are submitted). I've used relative URL's on my site so when a use is in the account page (http://example.com/account.php which using the over redirect should become [example.com...] if they click a nav link away from there...it will stay https? Right?
Since I don't want people viewing the other pages secure, does that mean I need to add another redirect to regular http for all other pages on my site?