Advertisement

Is it OK to delete LICENSE.txt, README.txt, robots.txt.dist?

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
User avatar
konczal
Joomla! Explorer
Joomla! Explorer
Posts: 282
Joined: Mon Mar 13, 2006 9:35 pm
Location: New Jersey, US

Is it OK to delete LICENSE.txt, README.txt, robots.txt.dist?

Post by konczal » Wed May 20, 2015 7:15 pm

Is it OK to delete these files from the Joomla! distribution from a live web site:
  • LICENSE.txt
    README.txt
    robots.txt.dist
    web.config.txt
Our concern is that someone could deduce a web site is Joomla! through the existence of these files, and use that knowledge to try to exploit the site.

Thanks,
Eddie

Advertisement
JoomIa-Shark
Joomla! Explorer
Joomla! Explorer
Posts: 306
Joined: Fri Apr 17, 2015 5:40 pm
Contact:

Re: Is it OK to delete LICENSE.txt, README.txt, robots.txt.d

Post by JoomIa-Shark » Wed May 20, 2015 7:37 pm

I don't really bother too much with these files, but for the 'robots.txt.dist' file...

I'm pretty sure this is just an updated version of the default robots.txt file that comes with the update packages for Joomla, so it's fine to delete it.

Not sure about the rest, although I think that 'web.config.txt' is the equivalent of a .htaccess file but for Linux servers.
Joomla Help and Resources: www.joomla-shark.com

User avatar
konczal
Joomla! Explorer
Joomla! Explorer
Posts: 282
Joined: Mon Mar 13, 2006 9:35 pm
Location: New Jersey, US

Re: Is it OK to delete LICENSE.txt, README.txt, robots.txt.d

Post by konczal » Wed May 20, 2015 7:39 pm

Additional: I did delete these files from a test site that was still running 3.3.6, then upgraded to 3.4.1. The files were reinstalled.

JoomIa-Shark
Joomla! Explorer
Joomla! Explorer
Posts: 306
Joined: Fri Apr 17, 2015 5:40 pm
Contact:

Re: Is it OK to delete LICENSE.txt, README.txt, robots.txt.d

Post by JoomIa-Shark » Wed May 20, 2015 7:44 pm

Yeah I would say it's fine. I've already mentioned two of the files in my first post, but for the other two:

LICENSE.txt
README.txt

These definitely don't affect how your website works.

If it worried you, just copy them to your desktop until you're happy that you don't need them.
Joomla Help and Resources: www.joomla-shark.com

User avatar
JAVesey
Joomla! Hero
Joomla! Hero
Posts: 2826
Joined: Tue May 14, 2013 1:21 pm
Location: Cardiff, Wales, UK
Contact:

Re: Is it OK to delete LICENSE.txt, README.txt, robots.txt.d

Post by JAVesey » Fri May 22, 2015 6:58 am

JoomIa-Shark wrote:I don't really bother too much with these files, but for the 'robots.txt.dist' file...

I'm pretty sure this is just an updated version of the default robots.txt file that comes with the update packages for Joomla, so it's fine to delete it.
This is important if you have updated to 3.4.0/3.4.1 from an earlier version. robots.txt controls what parts of your site search engine index bots are allowed to navigate.

You need to replace your existing robots.txt with one generated from the new robots.txt.dist file. Delete your existing robots.txt and then rename robots.txt.dist to robots.txt

robots.txt.dist will be uploaded again next time to update, e.g. to 3.4.2 when it is released, and you can safely delete the file then as it is unlikely to have changed.
John V
Cardiff, Wales, UK

Joomla 5.3.1 "live" site on PHP 8.3.16 and MariaDB 10.11.10 (with b/c plugin enabled)
Joomla 5.3.1 on MAMP Pro 7.2.5 with PHP 8.3.14 and MySQL 8.0.40 (with b/c plugin enabled)

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Is it OK to delete LICENSE.txt, README.txt, robots.txt.d

Post by sovainfo » Fri May 22, 2015 1:40 pm

Disagree with the advice of @JAVesey given above.

NEVER delete currently used files, always rename them. The files from the Joomla distribution are proposed templates that need to be merged into the original used files.
Which means you verify changes and agree with them for your site. Obviously, you need to document how you processed the proposed templates, in addition to the documentation for any other content, of course!

Recommend keeping the templates as files with the version in the name because updates overwrite them. When there are differences between the two you need to update!
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20674
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America/
Contact:

Re: Is it OK to delete LICENSE.txt, README.txt, robots.txt.d

Post by leolam » Fri May 22, 2015 1:59 pm

It is perfectly ok to delete:
LICENSE.txt
README.txt
README.MD
web.config.txt

If you have a working robot.txt keep that and delete also the "robots.txt.dist"

(If you have an ISS-windows server based environment you need web.config.txt instead of htaccess.txt so keep that in mind)

Leo 8)

edited based on Sovainfo comment below
Last edited by leolam on Fri May 22, 2015 3:26 pm, edited 1 time in total.
Joomla Professional Support Services
Over 35.000 support requests solved
Just contact us through the Joomla Support channels if you want help

User avatar
konczal
Joomla! Explorer
Joomla! Explorer
Posts: 282
Joined: Mon Mar 13, 2006 9:35 pm
Location: New Jersey, US

Re: Is it OK to delete LICENSE.txt, README.txt, robots.txt.d

Post by konczal » Fri May 22, 2015 2:32 pm

Thanks for the response! This is very helpful.

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20674
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America/
Contact:

Re: Is it OK to delete LICENSE.txt, README.txt, robots.txt.d

Post by leolam » Fri May 22, 2015 2:39 pm

You are welcome

Leo 8)
Joomla Professional Support Services
Over 35.000 support requests solved
Just contact us through the Joomla Support channels if you want help

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Is it OK to delete LICENSE.txt, README.txt, robots.txt.d

Post by sovainfo » Fri May 22, 2015 3:17 pm

Correction to the above:
robot.txt and web.config are two different things!

With Joomla there are three templates provided: robot.txt.dist, htaccess.txt and web.config.txt

See the post-installation notice about robot.txt and follow my advice or the notice. Both say the same thing: Review and apply when agree.

For apache there is htaccess.txt, for IIS there is web.config.txt. Same advice, review and apply when agree to .htaccess, web.config respectively.

Obviously, you NEED to merge with existing files!
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20674
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America/
Contact:

Re: Is it OK to delete LICENSE.txt, README.txt, robots.txt.d

Post by leolam » Fri May 22, 2015 3:25 pm

sovainfo wrote:Correction to the above:
robot.txt and web.config are two different things!
My bad and fully accepted you correction. Sometimes speed is not good...

I will change the post to avoid confusion. Thanks Marcel!

Leo 8)
Joomla Professional Support Services
Over 35.000 support requests solved
Just contact us through the Joomla Support channels if you want help

Advertisement

Locked

Return to “Installation Joomla! 3.x”