Skip to main content
added 14 characters in body
Source Link
Shawn W
  • 226
  • 1
  • 11

You can safely place your robot.txt file as well as the sitemap.xml file into your websites root directory and NOT the WordPress directory.

When a robot visits your site, the first place it checks is http://sitename.com/robots.txt, hence you want to keep these files at the root of your domain.

You can also disallow what the robot has access to

    User-agent: *    # applies to all robots
    Disallow: /      # disallow indexing of all pages

    Disallow: wordpress/wp-admin/
    Disallow: wordpress/wp-includes/
    Disallow: wordpress/wp-content/plugins/

W3.org

You can safely place your robot.txt file as well as the sitemap.xml file into your websites root directory and NOT the WordPress directory.

When a robot visits your site, the first place it checks is http://sitename.com/robots.txt, hence you want to keep these files at the root of your domain.

W3.org

You can safely place your robot.txt file as well as the sitemap.xml file into your websites root directory and NOT the WordPress directory.

When a robot visits your site, the first place it checks is http://sitename.com/robots.txt, hence you want to keep these files at the root of your domain.

You can also disallow what the robot has access to

    User-agent: *    # applies to all robots
    Disallow: /      # disallow indexing of all pages

    Disallow: wordpress/wp-admin/
    Disallow: wordpress/wp-includes/
    Disallow: wordpress/wp-content/plugins/

W3.org

added 14 characters in body
Source Link
Shawn W
  • 226
  • 1
  • 11

You can safely place your robot.txt file as well as the sitemap.xml file into your websites root directory and NOT the WordPress directory.

When a robot visits your site, the root of your directory will be the first place it crawlschecks is http://sitename.com/robots.txt, hence this is where you wouldwant to keep these files at the root of your domain.

W3.org

You can safely place your robot.txt file as well as the sitemap.xml file into your websites root directory and NOT the WordPress directory.

When a robot visits your site, the root of your directory will be the first place it crawls, hence this is where you would keep these files.

W3.org

You can safely place your robot.txt file as well as the sitemap.xml file into your websites root directory and NOT the WordPress directory.

When a robot visits your site, the first place it checks is http://sitename.com/robots.txt, hence you want to keep these files at the root of your domain.

W3.org

added 98 characters in body
Source Link
Shawn W
  • 226
  • 1
  • 11

If your .htaccess file is correctly set up per the codex instructions on setting up WordPress in a subdirectory then youYou can safely place your robot.txt file as well as the sitemap.xml file into your websites root directory and NOT the WordPress directory.

When a robot visits your site, the root of your directory will be the first place it crawls, hence this is where you would keep these files.

W3.org

If your .htaccess file is correctly set up per the codex instructions on setting up WordPress in a subdirectory then you can safely place your robot.txt file as well as the sitemap.xml file into your websites root directory and NOT the WordPress directory.

You can safely place your robot.txt file as well as the sitemap.xml file into your websites root directory and NOT the WordPress directory.

When a robot visits your site, the root of your directory will be the first place it crawls, hence this is where you would keep these files.

W3.org

deleted 219 characters in body
Source Link
Shawn W
  • 226
  • 1
  • 11
Loading
added 141 characters in body
Source Link
Shawn W
  • 226
  • 1
  • 11
Loading
Source Link
Shawn W
  • 226
  • 1
  • 11
Loading