[MAGNOLIA-2384] display pages only with defined extensions Created: 18/Sep/08  Updated: 07/Dec/10  Resolved: 19/Sep/08

Status: Closed
Project: Magnolia
Component/s: templating
Affects Version/s: 3.6.1
Fix Version/s: 4.0

Type: Improvement Priority: Major
Reporter: Fabrizio Giustina Assignee: Philipp Bärfuss
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
depends upon MAGNOLIA-2383 TemplateRenderer should be instantiat... Closed
duplicate
duplicates MAGNOLIA-1564 Accessing a page without proper exten... Closed
relation
is related to MAGNOLIA-3452 Content-type of a rendered page shoul... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

The default jsp template is actually mapped to any extension. You can call a page for example using:
page.html
page.htm
page.xyz
with the same result.

This is usually not good for SEO, and we should allow an option to serve pages using only the default extension, so that:
page.html -> OK
page.xyz -> 404

this could be a done with a simple flag on the template renderer itself, but first we should make templateRenderers configurable



 Comments   
Comment by Magnolia International [ 19/Sep/08 ]

Duplicate w/ MAGNOLIA-1564
There's a working search function in Jira

Generated at Mon Feb 12 03:36:12 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.