Vandaag heb ik een SSL certificaat op mijn website met Wordpress CMS. De URL begint nu met https:// en er staat een groen slotje voor, wat betekent dat het goed zit. Echter, als ik op de website een link aanklik, dan is de URL nog oud. Ik klik dan met de rechtermuisknop en kies voor "koppelingslocatie kopiëren". De gekopieerde URL is zonder https. Als ik echter doorklik laadt zich wel de pagina met https.
Dit zal het werk zijn van een redirect die ik heb geďnstalleerd. Maar is dit schadelijk of kan dit de boel vertragen? Met andere woorden: moet ik alle URL's op de website langs gaan en intern linken naar https of kan ik het zo laten en de redirect dit laten doen?
- Http en Https op website na SSL certificaat
-
07-10-2016, 20:49 #1
- Berichten
- 419
- Lid sinds
- 16 Jaar
Http en Https op website na SSL certificaat
-
-
07-10-2016, 22:16 #2gast85027 Guest
Re: Http en Https op website na SSL certificaat
Had je dit allemaal gedaan?
Configuring WordPress for SSL/HTTPS
Links in WordPress (such as image attachments, themes CSS and JavaScript files) are relative to the install URL.
To change WordPress from HTTP to HTTPS, the install URL must changed from say http://URL.nl to https://URL.nl.
Login to your WordPress dashboard and navigate to Settings > General.
Ensure that the WordPress Address (URL) and Site Address (URL) are https. If not, add S after http to make https and save it.
WordPress General Settings
To easily enable (and enforce) WordPress administration over SSL, the constant FORCE_SSL_ADMIN should be set to true in your site’s wp-config.php file to force all logins and all admin sessions to happen over SSL.
1
define('FORCE_SSL_ADMIN', true);
The constant FORCE_SSL_ADMIN can be set to true to force all logins and all admin sessions to happen over SSL.
If your WordPress site uses a content delivery network (CDN) to serve its components (images, JavaScript, CSS style sheet), ensure the URLs are all https:// otherwise your website will be deem insecure by the web browser.
What’s Next?
Now that we’ve successfully moved WordPress to HTTPS, we still need to do two more things — set up a 301 permanent redirect and inform Google of the URL change.
To setup a 301 permanent redirect, FTP/SFTP to your server and add the code below at the top of WordPress’ .htaccess file.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yoursite.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.yoursite.com [NC]
RewriteRule ^(.*)$ https://www.yoursite.com/$1 [L,R=301,NC]
Change every instance of yoursite.com to your WordPress URL.
To inform Google about the change in URL, re-add your WordPress site to Google webmaster tool (but this time with https://) and follow this this guide to let Google know about the change of URL.
-
08-10-2016, 15:04 #3gast74241 Guest
Re: Http en Https op website na SSL certificaat
Ik gebruik altijd deze plugin, dan is alles https.
Plaats een
- + Advertentie
- + Onderwerp
Marktplaats
Webmasterforum
- Websites algemeen
- Sitechecks
- Marketing
- Domeinen algemeen
- Waardebepaling
- CMS
- Wordpress
- Joomla
- Magento
- Google algemeen
- SEO
- Analytics
- Adsense
- Adwords
- HTML / XHTML
- CSS
- Programmeren
- PHP
- Javascript
- JQuery
- MySQL
- Ondernemen algemeen
- Belastingen
- Juridisch
- Grafisch ontwerp
- Hosting Algemeen
- Hardware Info
- Offtopic