Start WordPress and login to it.
Refer to our support docs: How to Start and Access WordPress
Search plugin pc-robotstxt plugin and enable it
![](/wp-content/uploads/2024/03/634034810-59f962eb8aec46e89f4f57c6.png)
Edit robots.txt
Navigate to [Settings] → [Virtual Robots.txt]
![](/wp-content/uploads/2024/03/634036742-6e3c4a677b1a96b47499f48d.png)
Click [Save Changes].
Preview changes
Click [preview your robots.txt file here] to access modified robots.txt.
![](/wp-content/uploads/2024/03/634037481-fa9f2b9f15a8c0961219d372.png)
Preview of modified file.
![](/wp-content/uploads/2024/03/634044089-7e64baa7fa156a88da43548b.png)
Build, deploy, and publish it.
If the preview is OK, why don’t we create the deployment and publish it?
Please refer to another document to do it: Create a New Deploy (Artifact) and Publish It
Check the deployment
Access https://your-domain.com/robots.txt
![](/wp-content/uploads/2024/03/634044905-971ae1139a5310c7ec9ef253.png)
That’s all