?
Referenced as Related to: # 5223 Pull Request for: # 5838
avatar brianteeman
brianteeman
26 Nov 2014

About 6 months ago we updated the robots.txt file to stop blocking the templates and media folders as google now needs access to them.

For various sensible reasons we do NOT change the robots.txt file on a live site when it is being updated. However I am seeing lots of people (twitter, forum and joomladays) not realising that and then complaining about the current robots file on their site.

Is it possible to create a post install message to inform them of the new robots file and how to apply it to their site

(Sorry I don't know how to create post-install messages myself)

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar brianteeman brianteeman - open - 26 Nov 2014
avatar tristyb
tristyb - comment - 26 Nov 2014

I agree with this, I think a post-install message would be a good way of alerting users to this as it's quite a sensitive file. As one of the people confused on Twitter I hadn't actually realised and was asking for help. This would clear things up I'd hope.

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5208.

avatar sovainfo
sovainfo - comment - 26 Nov 2014

Currently they are introduced by SQL. Which means adding the message to joomla.sql in installation/sql/ and to .sql in administrator/components/com_admin/sql/updates/.

Have a look at 3.2.2-2014-01-15.sql for an example

It also requires two language strings (TITLE & DESCRIPTION). In addition you need to decide on the other settings for the message. Considering the nature if of the message think you can use COM_CPANEL_WELCOME_BEGINNERS as a template.

Would there be a need for a message on htaccess.txt as well?

avatar sovainfo
sovainfo - comment - 27 Nov 2014

@brianteeman Could you create COM_CPANEL_MSG_ROBOTS_TITLE and COM_CPANEL_MSG_ROBOTS_BODY in en-GB.com_cpanels.ini for this PR?
I'll create PR's for you for the sql files.

avatar brianteeman
brianteeman - comment - 27 Nov 2014

Thanks. I will do in the morning
On 27 Nov 2014 00:06, "sovainfo" notifications@github.com wrote:

@brianteeman https://github.com/brianteeman Could you create
COM_CPANEL_MSG_ROBOTS_TITLE and COM_CPANEL_MSG_ROBOTS_BODY in
en-GB.com_cpanels.ini for this PR?
I'll create PR's for you for the sql files.


Reply to this email directly or view it on GitHub
#5208 (comment).

avatar brianteeman
brianteeman - comment - 27 Nov 2014

COM_CPANEL_MSG_ROBOTS_TITLE="robots.txt update"

COM_CPANEL_MSG_ROBOTS_BODY="A change to the default robots.txt files was made in Joomla! 3.3 to allow google to access templates and media files by default to improve SEO. This change is not applied automatically on upgrades and users are recommended to review the changes in the robots.txt.dist file and implement these change in their own robots.txt file."

Thanks

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5208.

avatar zero-24 zero-24 - close - 27 Nov 2014
avatar zero-24 zero-24 - change - 27 Nov 2014
Status New Closed
avatar jissues-bot
jissues-bot - comment - 27 Nov 2014

Set to "closed" on behalf of @zero-24 by The JTracker Application at issues.joomla.org/joomla-cms/5208

avatar jissues-bot jissues-bot - close - 27 Nov 2014
avatar zero-24
zero-24 - comment - 27 Nov 2014

@brianteeman see here: #5223

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5208.

avatar jissues-bot jissues-bot - change - 27 Nov 2014
Closed_Date 0000-00-00 00:00:00 2014-11-27 15:47:20
avatar brianteeman
brianteeman - comment - 21 Jan 2015

see #5838 hope this works

avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment