[DOCS-375] Modify 404 page for docs.mongodb.org to include GA + Google CSE Created: 02/Aug/12  Updated: 10/Sep/12  Resolved: 10/Sep/12

Status: Closed
Project: Documentation
Component/s: dochub, production
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Ed Costello Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File htaccess_t    
Issue Links:
Duplicate
is duplicated by DOCS-107 Track 404s Closed
Participants:
Days since reply: 11 years, 24 weeks, 6 days ago

 Description   

Default apache 404 page needs to be replaced with custom page in MongoDB house style.
Include GA tracking code for 404 tracking + Google CSE.
Rest of page should be subset of manual top page.



 Comments   
Comment by Ed Costello [ 30/Aug/12 ]

Steve Francia suggested assigning to you, we need the ErrorDocument rules in the attached htaccess template config'd for docs.mongodb.org. I understand .htaccess is disabled, can these be added to the apache conf instead?

Comment by auto [ 27/Aug/12 ]

Author:

{u'date': u'2012-08-27T08:47:54-07:00', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: merge: DOCS-375
Branch: master
https://github.com/mongodb/docs/commit/29e97026e860ff9e95dc08849553d758997992e3

Comment by Sam Kleinman (Inactive) [ 11/Aug/12 ]

It's live but it doesn't work.

It's fairly common practice these days to disable .htaccess files because they can impact performance on the web server. I can look into it on monday.

Comment by auto [ 11/Aug/12 ]

Author:

{u'date': u'2012-08-10T17:24:06-07:00', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-375 tweak to the htaccess deploy procedure
Branch: master
https://github.com/mongodb/docs/commit/89204832558955e59b5d31b34c3b81ffe0a71b71

Comment by auto [ 11/Aug/12 ]

Author:

{u'date': u'2012-08-10T17:24:06-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: DOCS-375 tweak to the htaccess deploy procedure
Branch: master
https://github.com/mongodb/docs/commit/e0647665422d5dfd6154af238ac6c3a6f4e373cd

Comment by auto [ 11/Aug/12 ]

Author:

{u'date': u'2012-08-10T17:19:45-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: merge: DOCS-375 custom 404 pages
Branch: master
https://github.com/mongodb/docs/commit/b3575b649c5423e5902df69dee577a11e2a43965

Comment by auto [ 11/Aug/12 ]

Author:

{u'date': u'2012-08-10T09:45:21-07:00', u'name': u'Ed Costello', u'email': u'epc@10gen.com'}

Message: DOCS-375 implement custom 404 page (and related pages)
layout.html modified to add logic to alter Google Analytics code
depending on whether it's an error page being generated or a normal
page.
The .htaccess file needs to be dropped in the root directory of
the manual (or appended to the one for the site).
Sphinx ignores the .htaccess file and does not copy it to the
built html directory.
Branch: master
https://github.com/mongodb/docs/commit/972d940aaf3a121c22227b508765af22fe545420

Comment by Ed Costello [ 10/Aug/12 ]

this file needs to be dropped into /manual/ as .htaccess (assuming standard ncsa/apache conventions).

Comment by Ed Costello [ 10/Aug/12 ]

Pull request https://github.com/epc/docs/commit/972d940aaf3a121c22227b508765af22fe545420 implements this

Comment by Ed Costello [ 07/Aug/12 ]

assign to me

Generated at Thu Feb 08 07:38:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.