‘robots.txt’ file Create – RCK

Proceed as pi.

Create the ‘Robots.txt’ file.

cd ~/wp
nano robots.txt

The contents of the file shoult look like this:

User-agent: *
Allow: /
Sitemap: http://rckcw.iptime.org/sitemap.xml

Change owner of file:

sudo chown www-data:www-data robots.txt

Leave a Reply

Your email address will not be published. Required fields are marked *