Hello David,
My provider provides free ssl certificates. I have everything changed to https.
Only in Google the url are still old. And when somebody clicks on the url in Google the url stays http. How can i redirect all http from Google to https permanently.
Thank you.
Jan Roel
Hello Jan,
I think the recommended approach is a 301 (Moved Permanently) redirect from the http to the new https URLs which you can do in your .htaccess file - add the following immediately _after_ the RewriteBase line:
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Also, I know you have been using the script for several years now so if you haven't done so already, replace your sitemap.php with the version from the latest distribution (16/10A) which will return https URLs if requested over https - so if you have your sitemap registered with Google Webmaster Tools it should be re-submitted at the new https URL...
Cheers,
David.
--
PriceTapestry.com