Opened 11 years ago
Closed 11 years ago
#27818 closed feature request (wontfix)
Adding a robot.txt file to WordPress
Reported by: | hardeepasrani | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
I don't think I'm the only one with this argument, and I won't be surprised if you guys mark this ticket as duplicated, but still let's talk about it.
WordPress comes out with a .htaccess file and you can see the file in the root, but you now we add a robot.txt file to WordPress, which works just like .htaccess concept.
WordPress can modify that file, and it will also be available on the root, so a user can edit it as well. What do you think about this, duplicate or anything?
Change History (3)
Note: See
TracTickets for help on using
tickets.
Previously: #1949
We do have a function (added in [3791]) that responds to a
robots.txt
request if WP is installed at the root of a domain: tags/3.8.3/src/wp-includes/functions.php#L1085.