WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Adding Sitemap location: in Robots.txt Yoast (1 post)

  1. joonymobile
    Member
    Posted 1 year ago #

    WordPress version: 3.3.2
    WordPress SEO version:1.1.9
    MULTISITE

    ----------

    Thanks for the fantastic plugin, I think it's really the best plugin of all kinds.

    I just have one question :)

    I want to add Sitemap:www.example.com in my robots.txt file
    but I am aware that WordPress is creating a "virtual" robots.txt and Yoast plugin handles it pretty well.

    I don't want to manually add "robots.txt" in the root folder via FTP because that will overwrite everything correct? or would you suggest that I copy and paste what was generated by yoast plugin AND manually add sitemap on top? like this?
    -------

    Sitemap:www.example.com/sitemap_index.xml
    Sitemap:www.example.com/sub1/sitemap_index.xml
    Sitemap:www.example.com/sub2/sitemap_index.xml
    
    User-agent: *
    Disallow:
    Disallow: /wp-admin
    Disallow: /wp-includes
    Disallow: /wp-login.php
    Disallow: /wp-content/plugins
    Disallow: /wp-content/cache
    Disallow: /wp-content/themes
    Disallow: /trackback
    Disallow: /comments

    -----------------

    http://wordpress.org/extend/plugins/wordpress-seo/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic