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. Dennis Muthomi

    very informative guide! I found it really helpful for adding my site to Google Search Console. The step-by-step instructions made the process a breeze
    I also have a question: Since my site is now on Google, I’m thinking about adding it to DuckDuckGo as well. I know they’re different search engines, but is the process similar, or should I take a different approach when submitting my website to them?
    I’d love to hear your thoughts on this

      • Dennis Muthomi

        Thank you for linking me to the guide on submitting sites to other search engines.
        I have read through the guide, I can see that the process for each search engine does vary a bit.
        The steps you provide for submitting to DuckDuckGo is very straightforward though :-)
        Thanks again for all the helpful resource!

  3. Ben

    Hello. I followed the steps, waited about 30 minutes, and my website is still not showing up on google search. Is there a setting on WordPress I need to change to allow my site to be found via AIOSEO?

  4. Jiří Vaněk

    Is there any way I can easily change the domain name in the google search console if there is a migration, or do I have to add the domain again using the same instructions and will I lose the previous data? I am also concerned with a situation where the client, for some reason, decides to use a domain without www instead of a domain with www at the beginning.

    • WPBeginner Support

      If you change your domain then Google has a change of address tool that you can use to migrate your information to the new domain’s search console.

      Administratör

  5. Wilfried HOUNTON

    This content save my life

    • WPBeginner Support

      Glad our guide could help get your site in Google Search Console.

      Administratör

  6. Moinuddin Waheed

    I have faced this problem with one of my blog while adding it to Google console. Actually I couldn’t find the option to complete the authentication part where by I need to put the code snippet inside the domain name to verify. I opened my GoDaddy dashboard and followed the steps that the option was not available in my dashboard.
    Thanks for the guide on adding sites to Google search Console.

    • WPBeginner Support

      You’re welcome, glad our guide was helpful :)

      Administratör

  7. Lewis

    Is it normal for Google Search Console to add a trailing slash after the website URL for the URL prefix method?

    • WPBeginner Support

      It is normal :)

      Administratör

  8. penny H

    Hi, is there a method that I don’t need to install any plugins, just copy the code to my WordPress Site, add it Google Search Console?

  9. Haniya mubeen

    I found this helpful. Thanks :)

    • WPBeginner Support

      Glad our guide was helpful! :)

      Administratör

  10. Ezra Chisom Eze

    Thanks this was helpfull

    • WPBeginner Support

      Glad our guide was helpful!

      Administratör

  11. PV Ramakrishna

    just all setup the google search console and when do my subdomain will appear in google when search ?

  12. Nelly

    Does my site have to be live and active for it to verify successfully for google console?

    • WPBeginner Support

      Your site would need to be findable online for Google Search Console to see the site. Some coming soon page plugins offer the ability to add the tag for the search console to be found while the coming soon page is active to help with this.

      Administratör

  13. umar hameed

    I have one question.
    Does the website have to be re-added to the google search console after changing the theme
    if yes then how?

    • WPBeginner Support

      No, changing your theme should not remove you from Google Search Console.

      Administratör

  14. Sophia

    Am having issue adding my site map, as the result came back with not fetch. what can i do about this

  15. Daniel Ikenna

    I just want to know whether I can add Google search console on my WordPress subdomain. Please I’ll be grateful if you comply with my query. Awaiting your reply!

    • WPBeginner Support

      Yes, you can add a subdomain to Google Search Console.

      Administratör

  16. Tejraj Mahanand

    Hi there, I was using the Wix website. right now I have created a website in WordPress if I am pointing wix domain to wordpress then may I need to reverify my google search console?

    • WPBeginner Support

      For safety, you would likely want to verify your site.

      Administratör

  17. Steve

    So when I go into WordPress/Setting/General, there is no url. I see site title and tagline, language and timezone, then privacy settings below that.

  18. karima

    to the point , thank you

    • WPBeginner Support

      Glad it was helpful :)

      Administratör

  19. Monika

    Very helpful, thank you so much!!

    • WPBeginner Support

      You’re welcome :)

      Administratör

  20. Rose Obom

    This was very helpful. Thank you.

    • WPBeginner Support

      Glad our guide was helpful :)

      Administratör

  21. Benedict

    Thanks for this complete guide.

    • WPBeginner Support

      You’re welcome :)

      Administratör

  22. Abayomi Ayo-Kayode

    Very helpful article, many thanks!! Why does google wait 6-12 months before they rank articles at all? I’m looking to organically drive traffic to my blog; 2 months old.

    • WPBeginner Support

      How quickly articles are ranked is not specified by Google and it is more based on the popularity of the search term.

      Administratör

  23. Malaykumar

    Website ownership verify successfully but when i am submitting sitemap then this type of error is showing: Sitemap couldn’t fetch

    • WPBeginner Support

      You may want to ensure you’ve cleared any caching on your site as that is the most likely cause of that specific issue.

      Administratör

  24. Jonathan Whitaker

    Right now I have a 2 properties on GSC for the same website. One domain and one URL prefix

    Since the https:// version is in the settings > general > site address URL field, should I just delete the domain property from GSC? (clutchjunkremoval.com?)

    • WPBeginner Support

      You can remove the version of the site you don’t want to use.

      Administratör

  25. ryad

    on the tutorial about google analytic you said to paste the code on the header section of the, header and footer plugin and you said the same thing for google search console, its a bit confusing .
    how we can do when we have both, google analytic and google search console

    • WPBeginner Support

      You would add both codes on different lines

      Administratör

  26. Ashish Malik

    Really helpful, did the work.

    • WPBeginner Support

      Glad our guide was helpful :)

      Administratör

  27. Hadar

    very helpful, thanks!

    • WPBeginner Support

      You’re welcome :)

      Administratör

  28. Karan

    Hello i have a question.
    Can I add my site to search console from day 1 .if i have not much posts less then 5 .can I add on search console .how many posts has on the site to add site to console

    • WPBeginner Support

      You can add your site to Google’s search console from the beginning so you don’t have to worry about waiting :)

      Administratör

  29. Aishwarya Rani Kotipalli

    Bro !
    You are a true life saver. I did everything you said and it worked :)

    • WPBeginner Support

      Glad our guide was helpful :)

      Administratör

  30. Daniel

    Please i successfully verify my site but since then Google search console has been displaying ”processing data please check again in a day or two”. I have been waiting for close to a week now.
    Please help me

    • WPBeginner Support

      Sadly, this is something you will need to wait for something to change from Google’s end, there is no hard timeline for it to be added.

      Administratör

  31. MuhammadWasim

    Sir, I have some problems with indexing my wp site which is, when I put URL of my site in search console it said ” Blocked by Robot.text ”. I have done everything including sitemap and robot.text .

    • WPBeginner Support

      You would want to check your robots.txt file that you’re not blocking your site from being crawled for that specific issue.

      Administratör

  32. Regi

    Thank you, that was very helpful.

    • WPBeginner Support

      You’re welcome, glad you liked our article :)

      Administratör

  33. Stefan

    THANK YOU GUYS! You really are the best , and you make everything so easy! I did it successfully! Much love and gratitude!

    • WPBeginner Support

      You’re welcome, glad you’ve found our content helpful :)

      Administratör

  34. SaraH O

    THANK YOU! This was exactly what I needed — none of the other instructions I found elsewhere worked.
    You’re the best.

    • WPBeginner Support

      You’re welcome, glad we could help :)

      Administratör

  35. Sarah

    Sadly no help to someone not on the premium package.

  36. Adi

    Hi…
    Is impotant or not to index all tags and all caetogires on worpdress website?

    • WPBeginner Support

      We would recommend adding your category and tag pages and not excluding them

      Administratör

  37. Josiah

    What if I manage multiple sites, can I used one Google account

    • WPBeginner Support

      You can, you would add an additional domain to your account for that

      Administratör

  38. Emmanuel Mabuza

    This helped. Thanks

    • WPBeginner Support

      You’re welcome, glad our guide was helpful :)

      Administratör

  39. Karin

    yeaaasssss! thank youuu!!!

    • WPBeginner Support

      You’re welcome :)

      Administratör

  40. mel

    Thanks for an easy and straight forward guide!

    • WPBeginner Support

      You’re welcome, glad you liked our guide :)

      Administratör

  41. Dipen Soni

    Nice, the projection for adding WordPress site to webmaster tool (Search Console) is simple and easy steps. I did the same with the ”insert header and footer” wp plugin. Once I add the meta tag to the head I simply remove the plugin.

    Now I want to delete that meta tag but I don’t know how to do that. Can you help me in finding the root path where all these meta tags are lives?

    • WPBeginner Support

      If you removed the plugin then the code that was added by the plugin should be removed as well.

      Administratör

      • Dipen

        I did. Means I remove the plugin but the meta tag is still there. Now what should I do.

        • WPBeginner Support

          Just to be sure, you would want to ensure you’ve cleared any caching on your site as that is the most common reason for still seeing code on the site.

  42. Harish Nemade

    Hey, I had created Blog page and Added Categories as a sub in Blog page from Appearance –> Menus.
    But then GSC showed my Blog Url as a Soft 404 error.
    What does this mean?

    • WPBeginner Support

      It likely means you either have very few posts on that page or your site could have had a hiccup when Google tried to crawl your page

      Administratör

      • Harish Nemade

        Yes, I have Only 2 posts on my Blog page, so that could be the reason for Showing Soft 404 error?

        • WPBeginner Support

          Yes, once google recrawls the page the soft 404 shouldn’t be an issue as long as you don’t have any errors on your site

  43. Pranjal Raut

    Thank you so much. I was literally stuck in this step and you cleare my doubt. my website is now verified thank you soo much.

    • WPBeginner Support

      Glad our guide was helpful :)

      Administratör

  44. Rahul choudhary

    How to use webmaster

    • WPBeginner Support

      At the moment we do not have a guide for Google’s webmaster tools.

      Administratör

  45. ash

    hey , I have a free plan , how can i do this /

    • WPBeginner Support

      For WordPress.com you would sadly need to reach out to their support for if they allow the connection and/or how to connect

      Administratör

  46. Andreas

    Hi,

    Thank you for another informative post. I love WPBeginner!!! :)
    One thing this post does not address which confuses me is whether I should add the domain with and without the www. I have added both as properties in the Google Webmaster tools and I don’t know if this will cause problems.

    Thanks
    Andreas

  47. J-P Zacaropoulos

    I installed my website (Bluehost/WP going thru the video tutorial you sent. I finished, but did not launch it. The tutorial does not cover how I can change the picture in the header. Is there a different tutorial for that?

    Also. When I am finished, just not published, I have no way to see the finished product. Do I need to publish before it shows up?

    Thanks in advance

    • WPBeginner Support

      It would depend on your theme for how to change the header image but that is normally under Appearance>Customize.
      For the content to appear for users not logged in, it would need to be published

      Administratör

  48. sandeep

    Sir, It is very good article for beginners. But can you please publish a new post about Adding a website on new google search console, sitemap, and everything.

    • WPBeginner Support

      We will certainly look into updating these articles as Google updates their interface

      Administratör

  49. A2Z

    very help full

    • WPBeginner Support

      Thank you :)

      Administratör

  50. Kudakwashe Blessing Muzividzi

    Thank you very much. This article helped me verify my website.

    • WPBeginner Support

      You’re welcome :)

      Administratör

  51. Rakesh Mhetre

    Nice article…it helps me to add site to google webmaster..

    • WPBeginner Support

      Thank you :)

      Administratör

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.