[MAGNOLIA-5886] New possible optional filter: Redirect Url's extension filter (SEO optimization) Created: 17/Aug/14 Updated: 09/Feb/22 |
|
| Status: | Accepted |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 5.3.1 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Christian Ringele | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | support | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Patch included: |
Yes
|
||||||||||||||||
| 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 |
|
Magnolia serves the same page with the same URL and various different extensions:
This is under certain circumstances not optimal for SEO, as it can result in duplicate content ranking penalties. Customer pointing out the problem asked preferably a permanent redirecting solution, where all variations permanent redirect to one version. I solved this creating a filter class. It is very comparable to the VirtualURI filter class, using the dispatcher tool to dispatch the request if needed. Generally: What you can configure -> hat it does:
Target place in filter chain:
Additional work required:
|
| Comments |
| Comment by Christian Ringele [ 04/Sep/14 ] |
|
Update filter class, also covering only requested server&contextPath and also domain mapped sites. |