Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Så här flyttar du WordPress från HTTP till HTTPS på rätt sätt (Beginner’s Guide)

Är du intresserad av att flytta WordPress från HTTP till HTTPS och installera ett SSL-certifikat på din website?

Vi har fått många requests i det här ämnet eftersom Google redan i juli 2018 meddelade att webbläsaren Chrome skulle markera alla webbplatser utan SSL som osäkra.

I den här artikeln visar vi hur du flyttar WordPress från HTTP till HTTPS på rätt sätt genom att lägga till ett SSL-certifikat.

Moving WordPress from HTTP to HTTPS / SSL

Oroa dig inte om du inte har någon aning om vad SSL eller HTTPS är. Vi kommer att förklara det också.

Vad är HTTPS?

HTTPS eller Secure HTTP är en krypteringsmetod som säkrar anslutningen mellan användarnas webbläsare och din server. Detta gör det svårare för hackare att tjuvlyssna på anslutningen.

Varje dag delar vi vår personliga information med olika websites, om vi gör ett köp eller bara loggar in.

För att skydda dataöverföringen måste en säker anslutning skapas.

Det är då SSL och HTTPS kommer in i bilden.

Varje site issue ett unikt SSL-certifikat för identifieringssyften. Om en server utger sig för att vara på HTTPS och certifikatet inte matchar, varnar de flesta moderna webbläsare användaren från att ansluta till webbplatsen.

Connection not private error in Google Chrome

Nu undrar du säkert varför jag behöver flytta min WordPress site från HTTP till HTTPS, särskilt om det är en enkel blogg eller en webbplats för småföretag som inte tar emot några betalningar.

Varför behöver du HTTPS och SSL?

Under 2018 tillkännagav Google en plan för att förbättra den övergripande webbsäkerheten genom att uppmuntra ägare av websites att byta från HTTP till HTTPS. Som en del av denna plan skulle deras populära web browser Chrome markera alla websites utan SSL-certifikat som ”Not Secure”.

Connection not secure

Google sa också att webbplatser med SSL också kommer att se sökmotorsoptimering och få högre ranking än osäkra webbplatser. Sedan dess har ett stort antal websites bytt från HTTP till HTTPS.

Efter tillkännagivandet började Google rulla ut ”Not Secure”-varningen i Chrome. Om någon till exempel besöker en HTTP website med inkognitofönstret kommer den att markeras som ”Not Secure”. Om någon besöker en HTTP-webbplats i vanligt läge och försöker fylla i ett kontaktformulär eller ett annat formulär, kommer webbplatsen att markeras som osäker.

När dina läsare och customers ser detta notice ger det dem ett dåligt intryck av ditt företag.

Det är därför alla websites måste gå från HTTP till HTTPS och installera SSL omedelbart.

Eller ej, om du vill godkänna betalningar online på din website för ecommerce behöver du SSL.

De flesta betalningsföretag, gillar Stripe, PayPal Pro, Authorize.net, etc., kommer att kräva en säker anslutning innan de godkänner betalningar.

Vi använder SSL för våra websites, inklusive WPBeginner, OptinMonster, WPForms och MonsterInsights.

Obligatoriska krav för användning av HTTPS/SSL på en site i WordPress

Kraven för att använda SSL i WordPress är ej särskilt höga. Allt du behöver göra är att köpa ett SSL-certifikat, och du kanske redan har det gratis.

De bästa företagen för webbhotell WordPress erbjuder gratis SSL-certifikat för alla sina användare:

För mer detaljer, se vår guide om hur du skaffar ett gratis SSL-certifikat för din website i WordPress.

Om ditt webbhotell ej erbjuder ett gratis SSL-certifikat måste du köpa ett SSL-certifikat.

Vi rekommenderar att du använder Domain.com eftersom de erbjuder det bästa SSL-erbjudandet för både vanliga SSL-certifikat och wildcard SSL-certifikat.

Genom att köpa ett SSL-certifikat från dem får du också en TrustLogo-sigill för din webbplats, och varje SSL-certifikat har en säkerhetsgaranti på minst 10 000 USD. Priserna börjar kl. 33 USD per år och SSL-certifikat förnyas automatiskt.

När du har köpt ett SSL-certifikat måste du be din hosting provider att installera det åt dig.

Settings för användning av SSL och HTTPS i WordPress

När du har aktiverat ett SSL-certifikat för ditt domain name måste du ställa in WordPress så att SSL- och HTTP-protokoll används på din website.

Vi kommer att visa dig två metoder för att göra det, och du kan välja den som bäst passar dina behov.

Video Tutorial

Subscribe to WPBeginner

Om du föredrar skriftliga instruktioner är det bara att fortsätta läsa

Metod 1: Konfigurera SSL/HTTPS i WordPress med hjälp av ett tillägg

Denna metod är enklare och rekommenderas för Beginnare.

Först måste du installera och aktivera pluginet Really Simple SSL. För mer detaljer, se vår Step-by-Step guide om hur du installerar ett plugin för WordPress.

När du är aktiverad måste du besöka Settings ” SSL page. Pluginet kommer automatiskt att upptäcka ditt SSL-certifikat och ställa in din WordPress site så att den använder HTTPS.

SSL enabled on a WordPress website

Tillägget kommer att ta hand om allt, inklusive error med blandat content. Här är vad pluginet gör bakom kulisserna:

  • Kontrollera SSL-certifikat
  • Ställ in WordPress att använda https i URL:er
  • Konfigurera redirects från HTTP till HTTPS
  • Leta efter URL:er i ditt content som fortfarande hämtar från osäkra HTTP-källor och försök fixa dem.

Note: Pluginet försöker fixa error med blandat content genom att använda teknik för buffring av utdata. Det kan ha en negativ prestandapåverkan eftersom det ersätter content på webbplatsen när sidan hämmas. Denna påverkan ses endast på första sidans laddning, och den bör vara minimalistisk om du använder ett plugin för caching.

Medan pluginet säger att du kan behålla SSL och säkert deactivate pluginet, är det inte 100% sant. Du måste lämna pluginet aktivt all tid eftersom deactivate av pluginet kommer att ge tillbaka mixed content error. Se vår Really Simple SSL review för mer detaljer.

Metod 2: Ställ in SSL/HTTPS i WordPress manuellt

Den här metoden är obligatorisk för att du ska kunna troubleshoota manuellt och edit WordPress filer. Det är dock en permanent och mer prestandaoptimerad lösning, och vi använder den på WPBeginner.

Om du tycker att den här metoden är svår kan du anlita en WordPress utvecklare eller använda den första metoden istället.

Som en del av denna metod kan du behöva edit WordPress tema och kodfiler. Om du inte har gjort detta tidigare, se vår guide om hur du copy and paste code snippets i WordPress.

Först måste du gå till Settings ” General page. Härifrån måste du updating dina WordPress och site URL adressfält genom att ersätta http med https.

Update WordPress URLs

Glöm inte att klicka på knappen ”Save changes” för att spara dina settings.

När Settings har sparats kommer WordPress att logga ut dig och du kommer att bli ombedd att logga in på nytt.

Följaktligen måste du ställa in WordPress redirect från HTTP till HTTPS genom att lägga till följande kod i din .htaccess-fil:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>

Om du använder NGINX-servrar måste du add to följande kod för att redirecta från HTTP till HTTPS i din konfigurationsfil:

server {
listen 80;
server_name example.com www.example.com;
return 301 https://example.com$request_uri;
}

Glöm inte att ersätta example.com med ditt domain name.

Genom att följa dessa steg kommer du att undvika WordPress HTTPS fungerar inte error eftersom WordPress nu kommer att ladda hela din website med HTTPS.

Om du vill tvinga SSL och HTTPS på din WordPress admin area eller login pages, måste du konfigurera SSL i wp-config.php-filen.

Add to följande kod ovanför raden ”That’s all, stop editing!” i filen wp-config.php:

define('FORCE_SSL_ADMIN', true);

Denna rad allow WordPress att tvinga SSL / HTTPs i WordPress admin area. Det fungerar också på WordPress multisite networks.

När du har gjort detta är din website helt inställd på att använda SSL/HTTPS, men du kommer fortfarande att stöta på mixed content error.

Dessa error orsakas av att källor (images, scripts eller stylesheets) fortfarande hämtar med det osäkra HTTP-protokollet i URL:erna. Om så är fallet kommer du ej att kunna se en säker hänglåsicon i adressfältet på din website.

Not secure

Många moderna webbläsare blockerar automatiskt osäkra skript och resurser.

You may see a padlock icon but with a notification about it in your browser’s address bar.

Insecure content blocked

You can find out which content is served through insecure protocol by using the Inspect tool.

Error med blandat content kommer att visas som en varning i konsolen med details för varje objekt med blandat content.

Mixed content errors displayed in browser console

You will notice that most URLs are images, iframes, and image galleries, while some are scripts and stylesheets loaded by your WordPress plugins and themes.

Fixa blandat content i WordPress Database

Majoriteten av de felaktiga URL:erna kommer att vara images, filer, embeds och andra data som är lagrade i din WordPress database. Låt oss fixa dem först.

Du måste hitta alla omnämnanden av din gamla website URL i databasen som börjar med http och ersätta dem med din new website URL som börjar med https.

Du kan enkelt göra detta genom att installera och aktivera pluginet Search & Replace Everything. För mer detaljer, se vår Step-by-Step guide om hur du installerar ett WordPress plugin.

Efter aktivering måste du besöka Tools ” WP Search & Replace page. Under fältet ”Search” måste du add to din website URL med http. Efter det, add your website URL with https under ”Replace” fältet.

Add URLs into the search and replace fields

Under det ser du alla dina WordPress Database Tables. Du måste välja dem alla för att köra en grundlig kontroll.

Select all tables in Search & Replace Everything

Klicka sedan på knappen ’Preview Search & Replace’ för att se alla ändringar som pluginet kommer att göra. Slutligen klickar du på knappen ”Replace All”.

Click the Replace All button

Pluginet kommer nu att searcha din WordPress database efter URL:er som börjar med http och ersätta dem med säkra https-URL:er. Det kan ta ett tag, beroende på storleken på din WordPress database.

Fixa error med blandat content i WordPress Theme

En annan vanlig orsak till mixed content error är your WordPress theme. Alla anständiga WordPress-teman som följer WordPress kodningsstandarder kommer ej att orsaka denna issue.

Först måste du använda din webbläsares inspektionsverktyg för att hitta resurserna och var de hämtas från.

Using inspect tool to find mixed content error

Därefter måste du hitta dem i ditt WordPress theme och ersätta dem med https. Detta kommer att vara lite svårt för de flesta Beginnare, eftersom du ej kommer att kunna se vilka theme-filer som innehåller dessa URL:er.

Fixa mixed content error som orsakas av tillägg

Vissa resurser med blandat innehåll kommer att hämtas av tillägg till WordPress. Alla WordPress tillägg som följer WordPress kodningsstandarder kommer ej att orsaka mixed content error.

Vi rekommenderar inte att du editerar filer för WordPress tillägg. Istället bör du kontakta plugin-författaren och meddela dem. Om de inte svarar eller ej kan fixa det, bör du hitta ett lämpligt alternativ.

Obs/observera: Om du av någon anledning fortfarande stöter på ett mixed content error, rekommenderar vi att du tillfälligt använder tillägget Really Simple SSL så att dina användare ej påverkas medan du fixar problemet på en staging website eller anlitar en utvecklare.

Submit your HTTPS site to Google Search Console (Skicka in din HTTPS site till Google Search Console)

Search engines som Google tycker att https och http är två olika websites. För att undvika eventuella sökmotorsoptimeringar måste du meddela Google att din website har flyttats.

För att göra det behöver du bara gå till ditt Google Search Console-konto och klicka på knappen ”Lägg till en fastighet”.

Add property

Detta kommer att visa en popup där du måste add your website’s new https address.

Det finns två metoder för att verifiera en site: domain name eller URL-prefix. Vi rekommenderar metoden med URL-prefix eftersom den är mer flexibel.

Add website URL in Google Search Console

Efter det kommer Google att be dig att kontrollera äganderätten till din website.

Det finns flera sätt att göra det på. Select någon metod, och du kommer att få instruktioner för att kontrollera din webbplats. Vi rekommenderar att du använder metoden med HTML-taggar.

HTML tag method to verify your site

Du kommer nu att se ett HTML code snippet som du måste add till head section på din WordPress website.

Add to Search Console verifieringskod med All in One SEO

Först installerar och aktiverar du pluginet All in One SEO för WordPress. För mer detaljer, se vår tutorial om hur du installerar ett plugin för WordPress.

Note: Det finns också en gratis version av All in One SEO som du kan prova.

Efter aktivering, gå till All in One SEO ” Allmänna Settings page och klicka på Google Search Console.

Add Google Search Console verification code in All in One SEO

Under det måste du add to verifieringskoden som du kopierade tidigare från Google Search Console website.

Glöm inte att klicka på knappen ”Save Changes” för att spara dina inställningar.

Gå sedan tillbaka till tabben Google Search Console och klicka på knappen ”Verify”.

Verify ownership

När din site har kontrollerats kommer Google att visa dina rapporter från Search Console här.

Du måste också se till att både https- och http-versionerna läggs till i din Search Console.

Detta talar om för Google att du vill att https-versionen av din website ska behandlas som den primära versionen. I kombination med de 301 redirects som du ställde in tidigare kommer Google att överföra din ranking till https-versionen av din website, och du kommer troligen att se förbättringar i din ranking.

Vi hoppas att den här artikeln hjälpte dig att add to HTTPS och SSL i WordPress. You may also want to see our ultimate WordPress security guide with step-by-step instructions to keep your WordPress site secure or our expert picks of the best analytics solutions for WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

406 kommentarerLämna ett svar

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Mrteesurez says

    This is really fantastic.
    Notinhy is bad as a visitors seeing a website insecured especially an ecommerce that collect online payment from users, this is definitely a bad experience.

    That’s why it’s always advisable to have https Website. Choosing one of the hostings you have listed like Bluehost and others gives free SSL and free domain for the first year.
    With Bluehost, you don’t need to manually installed the SSL certificate on your website.

    Thanks, sharing this.

  3. Moinuddin Waheed says

    one of my clients recently purchased a shared hosting from GoDaddy and then asked to make his website.
    I started making one and realised that it doesn’t come with inbuilt one click SSL installation like that of hostinger, bluehost and other hosting services providers mentioned above.
    The value of having good hosting was evident when I had to go through the painstaking process of getting SSL certificate installed.
    it is very advisable that one must choose good hosting service.

  4. Moinuddin Waheed says

    Having https for websites is a must for securing the trust of the visitors on the website.
    just curious if we have already enabled SSL for our websites, is it necessary to change everywhere from http to https?
    or it will automatically take one.

    • WPBeginner Support says

      It would depend on how you enabled SSL and your hosting provider as some will automatically update your site to https while others wont. You would want to check your site to see if it was updated and if not you would need to manually update the site address.

      Administratör

    • Jiří Vaněk says

      It is usually necessary to manually change everything to https or use the really simple SSL plugin. If part of the site will be http and part will be https, it is called mixed content and will end up with error and problems.

  5. THANKGOD JONATHAN says

    If you are beginner and do not know much about coding I recommend you use the first method.
    editing your WordPress code is very risky much especially for no coders. After all, the plugin is easier to use and it also have a free version.

  6. Moinuddin Waheed says

    Most of the hosting providers now a days give free ssl certificate to your site with a one click install as you have mentioned there.
    having ssl certificate installed on website is of utmost importance as it gives a sense of security to the visitors and they can be sure about every thing they do on SSL certificate installed website is secure .
    thank you for making a detailed description about http and https.

  7. Andrew Meador says

    I followed Method 2. The only thing I modified was using the WordPress redirect method. My web host has a tool that creates a redirect (for Windows Server hosting) which adds redirect rules into the web.config – allowing the redirect to HTTPS to happen at the web server level vs at the WordPress level. Works good and is 1 level of abstraction higher. Thanks!

    • WPBeginner Support says

      Thanks for sharing, not all hosting providers offer that but glad your host was able to help :)

      Administratör

  8. Clinton Waller says

    Thank you very much for this excellent tutorial.

    I recently installed an SSL cert and was dreading the change-over with WordPress and Google. Not saying there wasn’t any pain, but your step-by-step instructions helped immensely!

    Really appreciated the .htaccess code too, that’s just perfect. I was worried that Google would index both the insecure http and secure https variants of the old vs new website and give me a ranking penalty, but that trick completely avoids serving up insecure legacy http content — a real plus!

  9. William says

    I have a mix of domains (all HTTPS) on my WordPress site. Can this plugin go through my site and set them all to my current domain?

    • WPBeginner Support says

      You would want to check with your hosting provider as some have tools for what it sounds like you are wanting to do.

      Administratör

  10. Long says

    There are just no ’Wordpress Address’ and ’Site Address’ in ’General Settings’.

    Now I use wordpress multisite, one site is https and another is http. This wordpress installation is new, I have already set https at the previous wordpress installation in my sitegroud.

    • WPBeginner Support says

      You would need to go to the network admin to change the URLs of your sites on a multisite installation.

      Administratör

    • WPBeginner Support says

      So long as there are no hiccups with the plugin you shouldn’t need to edit your address and URL as the plugin would handle that for you.

      Administratör

  11. Stein says

    I followed the steps in method 2, but once I reached the step ”Once the settings are saved, WordPress will log you out, and you will be asked to re-login.” instead of just logging me out it also now says that ”this site is not avalible” when I try to log in to wp-admin again, making the next steps impossible to do.

    So how can I access the wp-admin site following the url change?

  12. Jithin says

    after adding this home page is redirecting but posts not redirecting to https.
    http and https .. both are working .. please help.

    • WPBeginner Support says

      Should you run into that issue, you would want to reach out to your hosting provider to ensure they do not have any redirects set up.

      Administratör

  13. RichPat says

    Thank you for the SSL upgrade instructions.
    Using Really Simple SSL with my hosting provided certificate was a v simple upgrade process

  14. Michael says

    Thanks for your valuable content.please I want to ask,if I can use the Really simple SSL plugin which is easier,why will I want to do it manually.

    • WPBeginner Support says

      That would be mainly for personal preference, there shouldn’t be a major difference between using the plugin or manually changing it.

      Administratör

  15. Jithin says

    Thank you for the guide.

    I going to install a fresh WordPress on hostgator. Do I need to do anything different for the HTTPS ? or follow the guide after installation ?

  16. nick Devine says

    Hello, I went into settings and changes http to https and now I am locked out of wordpress completely. Do you have a solution to this as it is a clients website and I am concerned I have lost everything completely. Nick

    • WPBeginner Support says

      You would want to enable an SSL certificate for the site or reach out to your hosting provider to assist you in setting the URLs back to HTTP

      Administratör

  17. Oleksandr Piddubnyy says

    First, you need to visit Settings » General page. From here you need to update your WordPress and site URL address fields by replacing http with https.

    BUT! After that my page is totally disabled! I can’t backup. I can’t even enter to the admin panel. And I don’t know what’s going on. What should I do? Do you have any idea?

    • WPBeginner Support says

      It sounds like you may have not enabled an SSL certificate on your site before changing the address. You would want to reach out to your hosting provider to enable an SSL certificate for your site or have them change your URLs back to HTTP

      Administratör

  18. osama khan says

    Good day, thank you for the guide. I installed a fresh wordpress on a VPS with an ip addresss. Now, I want to change it to a domain name – Do I need to do anything different for the HTTPS:// ?

    • WPBeginner Support says

      You would want to check with your hosting provider for how their servers are set up for swapping to the domain.

      Administratör

  19. Araceli says

    Hi! So it looks like, after following the steps through ”Fixing Mixed Content Errors in WordPress Theme,” I see that my images are causing mixed content issues. The error I am getting is, ”This content should also be served over HTTPS.” How can I fix this?

  20. Putri says

    would it be okay if I change website address and site address to https but didn’t do the rest of manual process, then install the plugin instead?

    • WPBeginner Support says

      We would recommend if you are planning on using the plugin to start with the plugin method to prevent any hiccups during the process.

      Administratör

  21. Amar says

    Hello Sir,

    I have wordpress site running on wordpress 3.5.1 . can I use really simple ssl plugin for it. The plugin says it needs wordpress 4.6 and higher.

    Pls suggest me how can i do it

    Thanks

  22. Shawn says

    I am unable to access the admin login URL after updating the site URLs, it keep redirecting to https but I get a ”This site can not be reached error” .. I also tried to update the .htaccess file but no luck. the original website is also not getting redirected to https.

    Any ides what might I be missing here?

    • WPBeginner Support says

      You would want to first reach out to your hosting provider for them to take a look and ensure your SSL certificate doesn’t have an issue.

      Administratör

  23. Jessica says

    Inner pages and post pages are still opening with http also, which will impact on search engines. What should I do now ?

    • WPBeginner Support says

      You would likely need to clear all caching on your site and you may want to check with your hosting provider that the SSL certificate was applied correctly.

      Administratör

  24. Leos says

    Why would you add define(’FORCE_SSL_ADMIN’, true) to wp-config file if the .htaccess redirect rule already does the job?

    When adding the line to wp-config file I got a syntax error right after and it was not possible to get to the admin area.

    • WPBeginner Support says

      The FORCE_SSL_ADMIN is for your admin area to ensure it is using HTTPS. You would want to ensure you copied the entire code correctly. If you were missing the ; it would give a syntax error.

      Administratör

  25. rohan says

    Hello,

    Thanks for the detailed guide. After switching from HTTP to HTTPS, I added the new property to Google Search Console.

    Do I need to submit the sitemaps again as well on the HTTPS version in GSC?

    Beginner query. :D

  26. Phil says

    Better Search & replace is 1.3.3 and has not been updated for a year and is not tested on the current wordpress version. It is compatible only up to 5.2.6.

    Is it safe to use, or can you recommend an alternative please?

  27. RomRom says

    Solution 2 wasn’t working for me, the website would be unavaible.
    After a few attemps, I noticed my hosting provider already provides a force https option. Turn it on, and bingo.

  28. Feranmi says

    What of if my hosting provider doesn’t support free SSL certificate can the plugin works also or how can I get it for free?

    • WPBeginner Support says

      If your current host does not offer free SSL then you would want to reach out to them for what options are available.

      Administratör

  29. ammar says

    Hi, if i’m using the 1st method, do I need to follow the Submit my HTTPS Site to Google Search Console step also after that?

    TQ

  30. Swen says

    I installed the Really Simple SSL plugin, which states that you should manually replace every http:// in all .css and .js files to //. That doesn’t sound really simple to me. As a beginner I set up a simple website with a couple of pictures. Is it common that http:// statements are in these files?

    • WPBeginner Support says

      Normally those links are not common so it shouldn’t be something to worry about.

      Administratör

  31. Lucas says

    Hi,
    When adding the code to .htaccess, i get a ”too many redirects” error. I tryed adding to the existing code above, below, and also erasing the existing code and using only the new. All three option get too many redirects.

    Is there something I should change there? Thanks in advance for your help!

  32. Sotir Sotirov says

    I’ve tried using the plugin but when I do the website becomes not accessible. I’ve tried the manual approach but once I’ve changed the addresses in WP settings the site becomes not accessible again.

    • WPBeginner Support says

      You would want to reach out to your hosting provider to ensure that your SSL certificate is connected to your domain correctly and they should be able to help :)

      Administratör

  33. Mike Ashworth says

    I am about to make the change to SSL and will be following the guidance in te article, initially using the really simple ssl plugin. Before i begin i have a quick question.

    If I use the really simple ssl plugin, which takes care of everything, i can leave the general settings in wordpress for wordpress address and site address as http rather than change to https as the plugin will be taking care of it?

      • Mike Ashworth says

        Thanks for confirming. I have one other rquestion.

        having just activated lets encrypt ssl on siteground for a website, i am asked wther i want to switch the following on or leave it off.

        HTTPS Enforce – Forces your site to work entirely over an encrypted HTTPS connection. The redirect is performed on server level and works for any website.

        Do i leave this off as the really simple ssl plugin will take care of this as well?

        • WPBeginner Support says

          Yes, you can leave that off, you would only want to use that should there be any issues with the plugin or Google finding http links

        • Mike Ashworth says

          Thanks for your advice. WP Beginner is such an awesome website. Keep up the great work!

  34. stephan says

    I want to thank you a lot. I have been looking for the errors over 12hours and get it done with better replace plugins. Thanks a lot dear.

  35. Peter Wilson says

    Can someone tell me, do I replace the contents on my.htaccess. file with the suggested code or do I place it and the beginning/end of the eisting entry.

      • Peter Wilson says

        Thanks for the quick reply. So, would that be after the existing and before the # END WordPress, or does it go after the .

        • WPBeginner Support says

          That should not matter, it may be a good idea to do it after should you need to remove the code in the future :)

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.