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.phpHowever, 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
- Log in to the web hosting account you used to install Sitepad
- Find and open the File Manager
- In the file manager, open your Sitepad installation folder. It is usually located in the public_html
- folder. Add a file named robots.txt in your Sitepad installation folder
- Edit and add your new robots.txt content. If you are unsure what content to add, you can use a Robots.txt Generator
- Check your robots.txt file by visiting https://namaweb.site/robots.txt
COMMENTS
Loading...