{"id":362,"date":"2007-04-19T12:51:53","date_gmt":"2007-04-19T17:51:53","guid":{"rendered":"http:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress"},"modified":"2007-04-19T12:51:53","modified_gmt":"2007-04-19T17:51:53","slug":"xml-sitemap-optimization-with-wordpress","status":"publish","type":"post","link":"https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress","title":{"rendered":"XML Sitemap Optimization with WordPress"},"content":{"rendered":"

This tutorial will show you how to generate a sitemap for a WordPress blog and tell most of the major search engines where your site map is located. Including a site map will increase the amount of pages that get index by search engines, and ultimately increase traffic to your website.<\/p>\n

Recently Google, Yahoo, and MSN announced a standardized site map format. The new standard is an XML document that tells the search engine how to index your site. Using the Google Site Map Generator we can generate an XML sitemap, and later edit the robots.txt field to tell search engines where to look for this file.<\/p>\n

First you will need to download the Google Site Map Generator V2.0 plug-in for WordPress<\/a>. Save the file to disk and extract its contents using your favorite zip program. Now connect to your website with your favorite FTP client. I personally use SmartFTP<\/a>. <\/p>\n

Upload the plug to your plug-in directory, which is usually public_html\/wp-content\/Plugins\/.<\/p>\n

XML Sitemap Generator Tutorial for WordPress<\/a><\/p>\n

While you are logged in, create two site map files and chmodd them 666. The two files are sitemap.xml.gz and sitemap.xml. <\/p>\n

Now log into the WordPress Admin Panel and click the Plugins tab. Select the Google Sitemap Generator plug in and active this plugin.
\n
XML Sitemap Generator Tutorial for WordPress<\/a><\/p>\n

Now click the options tab, and then click the sitemap tab. Your will see the sitemap generator options displayed. The default options will work perfectly for most sites. If you wish to change the settings go ahead and do it, they are well commented. After you have made your changes, or accepted the defaults, click the rebuild sitemap button. You will only have to do this one time. After this the sitemap will be generated every time you post.<\/p>\n

XML Sitemap Generator Tutorial for WordPress<\/a><\/p>\n

WordPress should tell you that all files were successfully built. <\/p>\n

XML Sitemap Generator Tutorial for WordPress<\/a><\/p>\n

Take not of the URL that your sitemap.xml is located at. The last thing that we need to do is add a line to the robots.txt file that tells the search engines where to find the sitemap. If you would like to know more about robots.txt you can find it the information here<\/a>.<\/p>\n

Go back to your FTP program and edit the robots.txt file. Add the following line, obliviously replacing the URL with the URL of your sitemap.xml file. You can the find the URL on the sitemap tab in the previous step (copy it and paste it):<\/p>\n

Sitemap: http:\/\/www.teamtutorials.com\/sitemap.xml<\/p>\n

After you save the changes you are finished. Adding a site map will help search engines crawl your site, therefore increasing the number of pages listed in the search engine. If you want to take it one step further you can manually add your site map to Google https:\/\/www.google.com\/webmasters\/tools\/siteoverview.<\/p>\n","protected":false},"excerpt":{"rendered":"

This tutorial will show you how to generate a sitemap for a Wordpress blog and tell most of the major search engines where your site map is located. Including a site map will increase the amount of pages that get index by search engines, and ultimately increase traffic to your website.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[17,23],"tags":[],"yoast_head":"\nXML Sitemap Optimization with Wordpress<\/title>\n<meta name=\"description\" content=\"This tutorial will show you how to generate a sitemap for a Wordpress blog and tell most of the major search engines where your site map is located. Including a site map will increase the amount of pages that get index by search engines, and ultimately increase traffic to your website.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Johnathan Ward\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/teamtutorials.com\/#website\",\"url\":\"https:\/\/teamtutorials.com\/\",\"name\":\"Team Tutorials\",\"description\":\"Learn something new today\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/teamtutorials.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/teamtutorials.com\/wp-content\/uploads\/2007\/04\/xml-sitemap-generator-tutorial-011.jpg\",\"contentUrl\":\"http:\/\/teamtutorials.com\/wp-content\/uploads\/2007\/04\/xml-sitemap-generator-tutorial-011.jpg\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress#webpage\",\"url\":\"https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress\",\"name\":\"XML Sitemap Optimization with Wordpress\",\"isPartOf\":{\"@id\":\"https:\/\/teamtutorials.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress#primaryimage\"},\"datePublished\":\"2007-04-19T17:51:53+00:00\",\"dateModified\":\"2007-04-19T17:51:53+00:00\",\"author\":{\"@id\":\"https:\/\/teamtutorials.com\/#\/schema\/person\/3abea1fc71644afe035403357450b9d9\"},\"description\":\"This tutorial will show you how to generate a sitemap for a Wordpress blog and tell most of the major search engines where your site map is located. Including a site map will increase the amount of pages that get index by search engines, and ultimately increase traffic to your website.\",\"breadcrumb\":{\"@id\":\"https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/teamtutorials.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"XML Sitemap Optimization with WordPress\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/teamtutorials.com\/#\/schema\/person\/3abea1fc71644afe035403357450b9d9\",\"name\":\"Johnathan Ward\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/teamtutorials.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/93d667fe5dc6df5c722e0df5eac14d40?s=96&d=mm&r=r\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/93d667fe5dc6df5c722e0df5eac14d40?s=96&d=mm&r=r\",\"caption\":\"Johnathan Ward\"},\"description\":\"Johnathan Ward is an experienced developer and consultant that writes tutorials to help other developers. In his day job, he is an IBM Watson Consultant with several years of experience deploying and customizing Watson Explorer solutions.\",\"sameAs\":[\"http:\/\/johnathanward.com\",\"https:\/\/twitter.com\/spyderman4g63\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"XML Sitemap Optimization with Wordpress","description":"This tutorial will show you how to generate a sitemap for a Wordpress blog and tell most of the major search engines where your site map is located. Including a site map will increase the amount of pages that get index by search engines, and ultimately increase traffic to your website.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress","twitter_misc":{"Written by":"Johnathan Ward","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/teamtutorials.com\/#website","url":"https:\/\/teamtutorials.com\/","name":"Team Tutorials","description":"Learn something new today","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/teamtutorials.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress#primaryimage","inLanguage":"en-US","url":"http:\/\/teamtutorials.com\/wp-content\/uploads\/2007\/04\/xml-sitemap-generator-tutorial-011.jpg","contentUrl":"http:\/\/teamtutorials.com\/wp-content\/uploads\/2007\/04\/xml-sitemap-generator-tutorial-011.jpg"},{"@type":"WebPage","@id":"https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress#webpage","url":"https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress","name":"XML Sitemap Optimization with Wordpress","isPartOf":{"@id":"https:\/\/teamtutorials.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress#primaryimage"},"datePublished":"2007-04-19T17:51:53+00:00","dateModified":"2007-04-19T17:51:53+00:00","author":{"@id":"https:\/\/teamtutorials.com\/#\/schema\/person\/3abea1fc71644afe035403357450b9d9"},"description":"This tutorial will show you how to generate a sitemap for a Wordpress blog and tell most of the major search engines where your site map is located. Including a site map will increase the amount of pages that get index by search engines, and ultimately increase traffic to your website.","breadcrumb":{"@id":"https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/teamtutorials.com\/web-development-tutorials\/xml-sitemap-optimization-with-wordpress#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/teamtutorials.com\/"},{"@type":"ListItem","position":2,"name":"XML Sitemap Optimization with WordPress"}]},{"@type":"Person","@id":"https:\/\/teamtutorials.com\/#\/schema\/person\/3abea1fc71644afe035403357450b9d9","name":"Johnathan Ward","image":{"@type":"ImageObject","@id":"https:\/\/teamtutorials.com\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/93d667fe5dc6df5c722e0df5eac14d40?s=96&d=mm&r=r","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/93d667fe5dc6df5c722e0df5eac14d40?s=96&d=mm&r=r","caption":"Johnathan Ward"},"description":"Johnathan Ward is an experienced developer and consultant that writes tutorials to help other developers. In his day job, he is an IBM Watson Consultant with several years of experience deploying and customizing Watson Explorer solutions.","sameAs":["http:\/\/johnathanward.com","https:\/\/twitter.com\/spyderman4g63"]}]}},"_links":{"self":[{"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/posts\/362"}],"collection":[{"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/comments?post=362"}],"version-history":[{"count":0,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/posts\/362\/revisions"}],"wp:attachment":[{"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/media?parent=362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/categories?post=362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/tags?post=362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}