robot.txt question
-
Hey Community,
I am putting together a robot.txt file, and I wanted to confirm something in regards to some advice from this link:
< a href=”https://www.askapache.com/seo/wordpress-robotstxt-optimized-for-seo.html”>
wordpress-robotstxt-optimized-for-seoI noticed the disallow command for these locations:
Disallow: /cgi-bin/
Disallow: /z/j/
Disallow: /z/c/
Disallow: /stats/
Disallow: /dh_These are not located in my html folder, i.e., my server goes something like this:
var/www/htmlNow would I need to locate and change the paths to these if they are not in my html public folder?
Also, for the disallow location of the wp directories:
Disallow: /wp-admin/
Disallow: /wp-includes/
& etc…Should I update my path to stem from my html/web folder to the location of these directories, e.g., if my wp files are located in “content” then change:
/wp-admin/
to
/content/wp-admin/Any advice is greatly appreciated.
Sincerely,
Orion
- The topic ‘robot.txt question’ is closed to new replies.