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 addar du din site i WordPress till Google Search Console

Ett av de viktigaste stegen för att optimera din WordPress site för SEO är att lägga till den i Google Search Console (tidigare Google Webmaster Tools).

Google Search Console erbjuder specifika webmaster tools för att hjälpa website-ägare att övervaka och underhålla sin närvaro och ranking i search.

I den här guiden visar vi hur du enkelt lägger till och kontrollerar din WordPress site i Google Search Console, även känd som Webmaster Tools.

How to easily add your WordPress site to Google Search Console

Vad är Google Search Console?

Google Search Console är ett gratis verktyg som erbjuds av Google för att hjälpa webbplatsägare att övervaka sin webbplats närvaro i Googles sökresultat.

Det hjälper dig att spåra ranking av sökningar och håller dig uppdaterad om site error, säkerhetsproblem och indexeringsproblem som kan påverka din websites sökprestanda.

Om du menar allvar med sökmotorsoptimering av WordPress måste du lägga till det i Googles webmaster tools från dag ett.

Med detta sagt, låt oss ta en titt på hur du enkelt kan add to din site till Google Search Console.

Video Tutorial

Subscribe to WPBeginner

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

Lägga till din WordPress-webbplats till Google Search Console

Först måste du besöka Google Search Consoles website och klicka på knappen ”Start Now”.

Start Google Search Console

Därefter måste du logga in med ditt Google / Gmail account.

När du är inloggad ombeds du att enter URL:en till din website.

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

Tänk på att Google betraktar HTTP och HTTPS som två olika protokoll. De betraktar också https://www.example.com och https://example.com som två olika websites.

Du måste enter den korrekta website URL som används av WordPress.

Om du är osäker finns det ett enkelt sätt att ta reda på den exakta URL som du behöver enter. Logga bara in på din WordPress admin area och gå till Settings ” Allmänt page.

There you will see your website’s URL in the site address field.

Copy your site address from WordPress settings page

När du har enter din korrekta website-adress i Google webmaster tools setup wizard, click på ”Continue” knappen för att gå till nästa steg.

Nu kommer du att bli ombedd att kontrollera äganderätten till din website. Det finns flera sätt att göra det på, men vi kommer att visa HTML tagged-metoden eftersom det är den enklaste.

Copy the HTML tag

Klicka på HTML-taggen för att förstora den och kopiera sedan koden inuti den.

Nu måste du add to denna Google site verification meta tag i WordPress, så att Google kan kontrollera att du är ägare till webbplatsen.

De flesta WordPress tutorials kommer att guida dig att bara redigera header.php-filen i ditt WordPress tema och lägga till koden precis ovanför <body> taggen.

Vi rekommenderar dock inte den här metoden eftersom HTML-taggen kommer att försvinna om du uppdaterar eller ändrar ditt theme.

Google kontrollerar regelbundet HTML-taggen och inaktiverar din åtkomst till webbplatsens data i search-konsolen om den inte kan hitta verifieringstaggen.

Så här gör du för att se till att Google alltid kan kontrollera att du äger din website.

Först måste du installera och aktivera pluginet All in One SEO. För mer detaljer, se vår steg-för-steg guide om hur du installerar ett plugin för WordPress.

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

The Webmaster Tools page in All in One SEO, to select Google Search Console

Klistra sedan in koden som du kopierade från Google Search Console i boxen ”Google Verification Code”.

Glöm inte att clicka på knappen ”Save Changes” för att store dina ändringar.

Du kan nu gå tillbaka till inställningarna för Google Search Console och klicka på knappen ”Verify”.

Verify ownership

Google Search Console kommer nu att leta efter HTML-taggen i koden på din website och visa dig ett success message.

Your website successfully added to Search Console

Obs/observera: Om du inte ser något success message måste du cleara din WordPress-cache. Detta säkerställer att Google kan hämta den senaste versionen av din website.

Nu är allt klart. Du har utan problem addat din site till Google Search Console (Webmaster tools). You can now click on the ”Go to Property” link to visit your Google Search Console dashpanel.

Google Search Console dashboard

From here, you can see your website’s performance reports and index coverage.

Innan du gör det, låt oss berätta lite mer för Google om din website. Detta kommer att hjälpa Google att crawla din website lite mer effektivt.

Add XML Sitemap till Google Search Console

En XML sitemap är en fil som listar all content på din website i XML-format, så att search engines som Google lätt kan hitta och indexera ditt innehåll.

Den goda nyheten är att om du installerade pluginet All in One SEO i stegen ovan har du redan lagt till en XML sitemap på din webbplats automatiskt.

För att se din webbplatskarta, gå till All in One SEO ” Sitemaps. Härifrån kan du se att sitemap automatiskt aktiveras för dig.

Enable sitemap in All in One SEO

Därefter måste du hämta länken till XML-webbplatskartan. Klicka bara på knappen ”Open Sitemap”, så ser du en länk till din XML-simplot.

All in One SEO XML sitemap preview

Härifrån kan du bara kopiera URL:en från webbläsarens adressfält.

Alternativt kan du få direkt tillgång till din XML-webbplatskarta genom att lägga till sitemap .xml i slutet av adressen till din website. Till exempel

https://www.example.com/sitemap.xml

Nu när du har XML-webbplatskartan klar ska vi hjälpa Google att hitta den snabbt.

Gå bara till dashboarden i Google Search Console och clicka på menyn Sitemaps i den vänstra colonnen.

Add your sitemap URL to Google Search Console

Efter det måste du lägga till den sista delen av din sitemap URL under ”Add new sitemap” section och klicka på knappen Submit.

Google kommer nu att add to din sitemap URL till din Google Search Console.

AIOSEO kommer också med flera andra webbplatskartor, gillar video sitemap, news sitemap och RSS sitemap, som alla hjälper dig att få en konkurrensfördel och rankas högre i SEO.

Processen för att skicka in dessa sitemaps är densamma som ovan.

Det var allt, du har utan problem addat din website till Google Search Console.

View Google Search Console-data inuti WordPress med AIOSEO

Nästa steg är att lära dig hur du använder informationsskatten i Google Search Console för att få ditt företag att växa.

Vi har en komplett Google Search Console guide för nybörjare, som visar hur du får ut det mesta av Google Search Console-data.

Men du kan också enkelt view många av dessa viktiga data direkt från din WordPress dashboard med hjälp av AIOSEO Search Statistics addon.

Med AIOSEO’s Search Statistics kan du spåra dina keywords, viewa ditt högst upp utförda content, upptäcka värdefull sökstatistik och mycket mer, i WordPress. Det innebär att du inte behöver slösa tid på att växla från WordPress till Google Search Console för att hitta de data du letar efter.

När Search Statistics har anslutits till Google Search Console klickar du bara på ”Search Statistics” i AIOSEO-menyn från WordPress dashboard.

AIOSEO Search Statistics addon

Då kommer du till dashboarden Search Statistics. From here, you can see SEO Statistics, such as the search impressions, total clicks, average click through rate (CTR), and average position of all of your content.

See SEO Statisitics report in AIOSEO Search Statistics addon

Du kan också använda rapporten Keyword Performance för att se vilka keywords som din websites content rankas för i Googles search-resultat. Genom att clicka på tabs ”Top Winning” och ”Top Losing” kan you se vilka keywords som har sett de största förändringarna i position.

AIOSEO Search Statistics keyword performance table

Dessutom kan du med den kraftfulla Content Rankings report enkelt upptäcka innehållsförfall och viktiga trender för innehållsprestanda.

AIOSEO Search Statistics Content Rankings Report

Det visar dig det datum då en URL senast uppdaterades, details om hur snabbt ditt content förfaller och andra viktiga metrics för sökmotorsoptimering och innehållsmarknadsföring.

Med hjälp av AIOSEOs built-in SEO-rekommendationer kan du enkelt optimera ditt förfallna content för att öka din ranking igen.

Du kommer också att få användbara rapporter för att förbättra användarupplevelsen (UX) på din site, tips för felsökning av issues som påverkar din sökmotorsoptimering negativt, med mera.

Google Search Console och Vanliga frågor om WordPress

Efter att ha hjälpt tusentals läsare att add to och kontrollera sina websites i Google Search Console har vi fått nästan alla frågor du kan tänka dig. Här är svaren på några av de vanligaste frågorna.

1. Hur kan jag uploada en Google HTML-verifieringsfil till min WordPress blogg?

Google Search Console allow några olika sätt att kontrollera ägandet av en website. I den här artikeln täckte vi den enklaste metoden, som är att använda Googles metatagg för verifiering av site. Vissa webbplatsägare föredrar dock att uploada HTML-filen för att kontrollera ägandet av webbplatsen.

För att uploada HTML-verifieringsfilen för Google Search Console till WordPress måste du logga in på cPanel på ditt WordPress-webbhotell eller ansluta till ditt webbhotell-konto med FTP.

Därefter måste du uploada HTML-verifieringsfilen i /public_html/ foldern på din website. Detta är rotkatalogen där du ser andra WordPress-mappar som /wp-admin/, /wp-content/, etc.

2. Ska jag använda ett plugin för verifiering av Google Site för WordPress?

Det finns många tillägg till WordPress som är utformade specifikt för att hjälpa dig med verifiering av Googles site. Du behöver dock inte använda dem eftersom du sannolikt kommer att behöva kontrollera ägandet på andra webmaster tools och plattformar som Bing, Yandex, Pinterest, etc.

Det är mycket bättre att använda pluginet All in One SEO eftersom det låter dig add to site-verifiering för alla plattformar (i ett enda plugin). För att ej nämna, det har också massor av andra funktioner för sökmotorsoptimering i WordPress som hjälper dig att ranka bättre och få mer trafik.

3. Hur kan jag bli en avancerad användare av Google Search Console?

Google Search Console har mycket användbar information som du kan använda för att få ditt företag att växa. Vi har skapat den ultimata Google Search Console guide som du kan använda för att bli en kraftfull användare.

4. Jag har problem, finns det ett telefonnummer till Google Search Console som jag kan kontakta?

Nej, det finns inget telefonnummer till Google Search Console som du kan kontakta. Om du runar på problem med Google Search Console kan du använda deras online support center. För specifika frågor om WordPress kan du alltid gå med i vår gratis WordPress-hjälpgrupp för att ställa dina frågor.

Vi hoppas att den här artikeln hjälpte dig att lära dig hur du enkelt addar din WordPress site till Google Search Console. Du kanske också vill se vår guide om hur du får mer trafik till din website, och vår jämförelse av de bästa tjänsterna för e-postmarknadsföring för småföretag

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

255 kommentarerLämna ett svar

  1. Syed Balkhi

    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. Mai Taup

    I’ve been frequenting your site because it has been really helpful in building my blog. I just can’t seem to verify it thru google search console. I tried all the alternatives listed in this page. What am I doing wrong? HELP!

    • WPBeginner Support

      Hi Mai Taup,

      Do you see an error when trying to verify your blog? Make sure that you have added the correct address of your website in Google Search Console. Google treats https and http, www and non-www URLs differently.

      Administratör

      • Mai Taup

        Thank you! Thank you! I have finally verified my site. awesome tips.

  3. Chrissie Barclay

    Thanks very much – your step-by-step description was so easy to follow & it worked a treat!

  4. Mondakranta

    Thank you! Inserting the meta tag via the insert header plugin worked for me. Grateful :)

  5. Fareeha

    It was helpful .. I had been messing up for long and this article solved my problems in a minute .. keep up the good work

  6. Rebecca

    it keeps telling me ”we were unable to verify your property” Any thoughts on what i am doing wrong? thanks!

  7. Jennifer

    I keep getting an error when I follow the tips in this video. It says – ”The Google XML Sitemaps plugin might cause issues when used in conjunction with Yoast SEO.” Any idea what I should do now?

  8. alex

    I used the insert headers footers and copied and pasted the code over and it still wouldn’t verify the site.

  9. Jared

    What led me to this video was I initially watched your video on how to install Google maps to wordpress with your provided plugin. The result was Javascript console prohibiting complete map loading.

    I have done everything stated in this video tutorial, but I ”do not receive the green check mark” allocating Google found my tag? Could one of these be why:
    1. Domain was on another platform and I recently brought it over to Dreamhost (2 days ago)
    2. New platform, theme, and wordpress are still under construction – could this hinder the tag from being found?
    3. Google is stating verification failed, unable to connect to the server – Why is server not allowing connection?
    Great to the point videos, Thanks for your time.

    • WPBeginner Support

      Hi Jared,

      If your website is in maintenance mode and not publicly accessible, then Google webmaster tools cannot verify the tag.

      Administratör

      • Ashley

        Thank you! This is the issue I was having, so I’m glad someone asked and you responded!

  10. John

    Excellent video. I struggled for a couple of hours before I found your short, informative, step by step instruction. Bravo.

  11. swetha

    if we have verified our analytics account with insert header and footer plugin, how to verify with web masters ??

  12. Tina Whitfield

    What about setting up different versions of the website name on google’s search console?
    i.e.
    http://www.wpbeginner.com
    wpbeginner.com
    https:// etc etc etc

    What is the purpose of that and how do you do it>

    • WPBeginner Support

      Hi Tina,

      Google considers them different websites. You will need to pick one to submit to Google webmaster tools.

      Administratör

  13. Melody Burgess

    Thanks! Very helpful video.

  14. Ernest

    I just verified by site with the plugin from WpBeginner

  15. Elena

    Thank you for an excellent tutorial! After struggling to figure the domain verification process for some time, this tutorial helped me to resolve the issue in minutes! Thank you!

  16. Stephen

    I am trying to verify the https versions of my site via ftp but cannot find those versions to upload the HTML verification file to. Any ideas where to find them?

  17. Lena

    Hello,

    none of those methods worked for my website, I have followed the steps in the video and but it says it can not find the verification meta tag. Also uploading the html file did not work. What should I do now?
    Thank you!

  18. Prathmesh

    Thank you very much for sharing such an important info especially the ”Insert Headers and Footers Plugin” which is going to help me a lot. Is it OK to uninstall and delete ”Insert Headers and Footers Plugin” after including meta tag in the header?
    Eagerly waiting for reply…
    Thanks again………

    • WPBeginner Support

      Hi Prathmesh,

      You will need to keep the plugin installed. Uninstalling the plugin will disable the code you added into header or footer using the plugin’s settings.

      Administratör

      • Prathmesh

        Thanks.
        That helped…

  19. Kader

    This is really helpful and I would hope my blog gets visitors too.

  20. Diane

    I was going around and around trying to get this to work and couldn’t.

    I’m so happy I finally got the ”green checkmark” after following your instructions. Thx a bunch

  21. Sandra

    Thanks for this video. Was going round in circles tying to verify my site and all done now. Thanks

  22. Mahmud

    After submit xml I got a messege ”Improve the search presence of https://example.com”. There are a option named ”Add all your website versions”. Do you have any instruction about this?

  23. Arif wali

    I have removed a plugin of wpbeginners from my WordPress site mistakenly I want to add that plugin again but It says that ”Installation failed: Destination folder already exists” what to at this stage ?

    • WPBeginner Support

      Hi Arif,

      You will need to first connect to your website using File Manager in cPanel or an FTP client. Next, you need to locate /wp-content/plugins/ folder. Inside it you will need to locate the plugin you are trying to install and then delete it. After that you will be able to install the plugin normally from your WordPress admin area.

      Administratör

      • Arif wali

        Thank you for your Kind support

  24. Rajdeep Kaur

    Hi i just wanted to say thanks i was trying to do the webmaster tool thing for my website and i had no idea how to do that i know somewhat but coding is not so much of my thing like where to put what code and i was having trouble knowing how to upload the html file but this meta thing was easy to do thank you helped me do it i was struggling with this and i asked someone for help and they made it seem like its impossible for me to do cuz usually ppl dont tell others and help but this helped me alot thanks i was struggling for a year asking for help now i just google and found ur site and it helped thank you so much really also can u let us know like a checklist to make sure points to apply for google adsense please plzzzz thanks

  25. Michael

    Dear Sirs,
    can anyone help me with the recommended method ie. HTML file upload process step by step. Its vaguely explained. All other methods are explained in detail. please explain this method too in detail
    Thanks
    regards
    Michael

  26. Vladimir

    Thank you. Very simple

  27. Joe Brancatelli

    Thank You, your recommended plugin made adding the meta tag very simple to the header. I believe this plugin should be with googles instructions and a lot more people will find this easier to insert meta tags. I failed the first time on all the other methods

  28. john

    thanks a lot, your article was very informative, easily instructed and understandable. i appreciate your help wordpress.

  29. Beth

    Can NOT thank you enough for this! Have been struggling all day trying to find a simple fix and this was so easy!!!

  30. Asifiwe

    This was really helpful. Thank you so much.

  31. shabnam hasan

    the tutorial is really great but i think i have messed it up somewhere.In my search traffic it is showing 0 ,even though the site is open in my phone . Can you suggest some way how to get the correct data.Also i have received plenty of comments on my blog still it shows 0 users from beginning.My website is :

  32. kerry-anne Simpson

    WOW thank you so much for the video tutorial. It was super simple to do, now I have the green light thanks again I love your tutorials

  33. Zakir Hussain

    The tutorial is really helpful and much easy to understand.

  34. Manpreet Kaur

    Hi,

    I am trying to verify my website but failed many times. I have followed all the steps that are listed above but not working for my website. I tried submitting html tag code in google search console in Yoast SEO. Please help me. Thanks

  35. Hil

    Hi, The tutorial is really nice.
    I use the sitemaps plugin (Better WordPress Google XML Sitemaps) on my wordpress site to send my sitemaps to Bing and google. Do I still need to use Google webmastertools for sitemaps

    • WPBeginner Support

      Hello,

      You can continue using that plugin. However, if you want to use Yoast SEO to submit sitemaps, then you should stop using your old plugin.

      Administratör

  36. Karen Chase-Smith

    After agonizing over ”countless” foreign instructions on the web on how to verify as owner of my website, I stumbled across this tutorial. It took me a few minutes to understand what I was typing in my search engine to add a new plug-in, but after that, I was finally able to verify my Blog. The only suggestion I could make is that it the visuals could be a little more clearer.

    Thank you so much for your help!

  37. Tasha

    I am SO grateful for WP Beginner. This tutorial helped me immensely. Thanks!

  38. Varonette

    Thank you so much. I have been trying so long to verify my website and I couldn’t until I visited your website. Thank you again.

  39. Irma

    Thank you so much! I was really stumped, as my several attempts were not working. Thanks to your video I got the green check mark on the first try! :)

  40. Akshata

    i did verified my site long before but have not added meta values to the webmaster tools. Can you please help me in finding the meta values. Where can get it with verifying again?

  41. Fiona Sorg

    Thank you for uploading and sharing this info. for me it’s very helpfull as a starter of wordpress sites. Without this kind of help it makes it mor difficult. Again thank you keep up the good job.

  42. Thais Rodriguez

    Hello all!
    I am setting up Yoast Seo. I have done the process to add my website to Google Webmaster and it’s works ok. But when I go to put the authorization code to authenticate, it says ”no profiles found”.
    Please, some help will be appreciated.

  43. Ipsita

    thanks a lot..really helped me this article

  44. Susan Perloff

    This is wonderful. I have had a site for more than 10 years, paying various consultants thousands of dollars along the way. But no decent SEO. This looks like a way to go. I am stuck at 1 minute 50 seconds of the video. Then the voice goes too fast and the picture is too fuzzy for me to follow.

    I have inserted the plugin but do not know how to capture the ”metadata” that goes on a subsequent page. Can someone help?

  45. C.Sern

    Hi,

    i am actually facing a problem.

    I am helping my cousin with his website.

    His website is actually
    However, when i search for ”brboss”, his website does not show up.

    Can you please help with this problem :)

    p.s. i already register in google webmaster

    Thank you.

  46. Trina

    Thank you.. The video really helped me setup my site.

  47. Rachel Neill

    Hello,
    Thank you for such an informative tutorial. I opted to verify my site via signing into Bluehost but have just read somewhere that says
    ’When your site has been verified by Search Console, do not remove the verification code from your site. If the code is removed, it will cause your site to become unverified.’
    Because I didn’t upload a code, do I still need to do so?
    Or have they got one from Bluehost?
    I’m also a bit confused on how to add ’site versions’ in the next step,
    Thankyou!

  48. mohamed hassouna

    Hello,
    First of all you are awesome I really learned a lot from your site which is beginners frindly
    I am newbie ti all this and I already started to take action but
    When I came to verifing my site in google webmaster always get the same message every time that they cant find the meta tag though I tried many other ways for verification like the domain name and google analytic
    I thought may be because I haven’t puplished my site yet but I already verified my google analytic account ,I am confused and don’t know what to do I even tried webmaster help but no good ,I am kindda frustrated but I really want to continuo because I still have the passion and feel I am heading forward so please help me with this issue
    One more thing excuse me for my bad english
    Thank you

  49. Tessa

    Hi,
    just to say a BIIIIIIIG THANK YOU!
    I first went down the route of FTC, but had no idea what I was doing, still don’t.
    Your video was so simple. Love this plugin.
    I got failed messages at first, but I think I must’ve put in my URL wrong somehow. When I started from scratch, it worked a treat. I am now verified and very happy.
    Thanks again.

  50. Kristel Miley

    I followed all the steps and even repeated the process three times, but every time Google Webmaster said that my verification failed. Is there something I can do to fix this?
    Thanks!

  51. Lesley

    As always very helpful. Once you insert the code into the header, can I deactivate the plugin or does it need to remain active?

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.