How to Add a Robots.txt File in Sitepad

If you use Sitepad to build your website and want to restrict search engines like Google, Bing, Yandex, and others, you can use a robots.txt file in Sitepad. However, since there is no option for robots.txt in the Sitepad dashboard, how do you edit or add one?

Actually, by default, Sitepad already includes a robots.txt file with content like this:

User-agent: *Disallow: /site-admin/Allow: /site-admin/admin-ajax.php

However, as your website grows and you make customizations, you may need to change the content of your robots.txt file, which we will discuss here.

How to Add a Robots.txt File in Sitepad

  1. Log in to the web hosting account you used to install Sitepad
    Cara Menambahkan Robots.txt di Sitepad - 1
  2. Find and open the File Manager
    Cara Menambahkan Robots.txt di Sitepad - 2
  3. In the file manager, open your Sitepad installation folder. It is usually located in the public_html
    Cara Menambahkan Robots.txt di Sitepad - 3
  4. folder. Add a file named robots.txt in your Sitepad installation folder
    Cara Menambahkan Robots.txt di Sitepad - 4
  5. Edit and add your new robots.txt content. If you are unsure what content to add, you can use a Robots.txt Generator
    Cara Menambahkan Robots.txt di Sitepad - 5
  6. Check your robots.txt file by visiting https://namaweb.site/robots.txt
    Cara Menambahkan Robots.txt di Sitepad - 6

Written by

Muhammad Khoirun Nasikin

I enjoy tinkering with WordPress, hosting, VPS, web development, and various small experiments related to websites. I have over 3 years of experience in the web hosting industry.

COMMENTS

Loading...