Forum Moderators: Robert Charlton & goodroi
Upgrade to HTTPS - Absolute vs. Relative Links?
This has been posted a few times, but maybe should be posted in this thread as well:
- Generic Steps to Switch from HTTP to HTTPS -
• Read all info at your host concerning certificates & switching to HTTPS and when applicable, follow those instructions.
• Install security certificate.
• Have you host enable HTTPS (if needed.) This will enable access from both HTTP & HTTPS.
• Go through site, page by page & make sure all file paths are relative (no protocol.) Test by accessing site using HTTPS and look for any browser alerts.
• Install 301 code in .htaccess fileNote: your server may require a different codeRewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
• Go through site again, page by page, and test. Any remote absolute links will need to be HTTPS including those found in scripts & pluggins. If you publish Adsence or other advertising, links in these scripts need to be HTTPS also (or just remove the protocol altogether.)
• Update sitemap.xml (if applicable) and submit to appropriate agencies (Google, Bing, Yandex, etc)
• In Google Search Council create a new site using HTTPS (do not use the Change of Address form.) It will take a few days to start populating information. This is normal & traffic to old site (HTTP) will drop off accordingly.
• Bing Webmaster Tools, Yandex & others should update automatically once they crawl your new pages. Updating/re-submitting sitemap.xml should speed up this process.
[edited by: not2easy at 8:18 pm (utc) on Jun 13, 2017]
[edit reason] Added quote from original Thread [/edit]
directive for IE8 and IE9Note that it isn't 8 and 9. It's below 8 and below 9. Big difference.