Modify Robots.txt

Keywords: Joomla - AWS - How to - Other
Description:
Need any resources available to modify Robots.txt file for AWS Lightsail / Joomla installation

Hi @aakarsolutionsindia,

The robots.txt file needs to be created in the root folder of the Joomla installation (/opt/bitnami/joomla). You can get more information about it in the official documentation

https://docs.joomla.org/Robots.txt_file

In order to create the file, you will need to access the instance using a SSH connection

https://docs.bitnami.com/aws/faq/get-started/connect-ssh/

Happy to help!


Was my answer helpful? Click on :heart:

Thanks Jota,

I managed to locate the Robots.txt file in the root folder through SSH.
Can you please guide on how to modify the Robots.txt file

Its built on

Linux ip-xxxxxxxxxxxxxxxx-14-cloud-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64

Hi @aakarsolutionsindia,

You need to use a command line text editor like vim, emacs or nano. If you do not know how to use them, there are plenty of guides available on the internet.

https://www.howtogeek.com/howto/42980/the-beginners-guide-to-nano-the-linux-command-line-text-editor/

sudo nano /opt/bitnami/joomla/robots.txt

Happy to help!


Was my answer helpful? Click on :heart:

1 Like

Thanks Jota … For your quick reply.
I did managed to use nano to amend theRobots.txt file

Thanks for your support

1 Like