Submitting a WP sitemap?

Discussion in 'Google Sitemaps' started by bob25, Sep 30, 2009.

  1. #1
    I'm trying to submit a xml sitemap. But when I log into Google's webmaster tools it let's me submit the domain url only (domain.com). So I submit the domain and I'm brought to a screen that says:

    -----

    Copy the meta tag below, and paste it into your site's home page. It should go in the <head> section, before the first <body> section.

    <meta name="google-site-verification" content="kMg3Ba_xcViWIs05XPMX5m_BHXgtNjMchNT-FS1KDKU" />

    -----

    Does this mean the index.php file?

    And if so will adding it bring me to a screen where I can add the xml sitemap? Or am I looking in the wrong place?

    Thanks
     
    bob25, Sep 30, 2009 IP
  2. bryanon

    bryanon Well-Known Member

    Messages:
    806
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    145
    #2
    Webmaster Tools simply needs to verify that you're the legit owner of the site.
    The file you need to edit is header.php. The only things you need to make sure of is that the meta tag you insert goes after the <head> tag and before the </head> tag (there's usually a lot of lines between those two) - just make sure that it's on a new line i.e. it doesn't 'break' any of the existing code.
    After you've done that, log in to webmaster tools again, hit verify, and you'll be able to use it.
     
    bryanon, Sep 30, 2009 IP
  3. bryanon

    bryanon Well-Known Member

    Messages:
    806
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    145
    #3
    Ah, I almost forgot - as opposed to submitting your sitemap manually every time you change anything, you're far better off getting a WP plugin such as 'XML Sitemap Generator' that generates and submits your sitemaps to Google/Bing/Yahoo automatically.
     
    bryanon, Sep 30, 2009 IP
  4. bob25

    bob25 Well-Known Member

    Messages:
    1,519
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    128
    #4
    Yeah I already use that plugin, but some of my pages that I have linking to other pages on a different domain aren't showing up, some do, but some domains only the index page shows as a backlink. I thought that maybe by manually submitting a sitemap that they'd stick. I guess I'll check Google if the pages are indeed indexed, but just not getting the backlinks. And yeah I'm using Yahoo's site explorer.

    Thanks
     
    bob25, Sep 30, 2009 IP