Closed
Bug 597243
Opened 15 years ago
Closed 14 years ago
Support existing (tiki-formatted) links to SUMO articles
Categories
(support.mozilla.org :: Knowledge Base Software, task)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
2.3
People
(Reporter: cww, Assigned: paulc)
References
Details
A lot of Mozilla web properties and external web sites link to URLs of the format: support.mozilla.com/%LOCALE%/kb/%TITLE% Where TITLE is the article title with spaces replaced by +s.
We don't want to break that when we change the URL format in Kitsune to use slugs.
Comment 1•15 years ago
|
||
Not sure what the best approach would be here, but one way of doing this might be to look at the top referrers' links and make sure we create redirects for those. That is assuming it's not possible (or too time-consuming) to create redirects for ALL articles...
Comment 2•15 years ago
|
||
Since we decided to allow anything in slugs, we could just make the slugs of all the articles the same as the current titles.
Otherwise, if there's not a long tail, but just a handful of key articles, maybe we can create redirects by hand that use the current title as a slug.
Comment 3•15 years ago
|
||
Yeah, that might be the smartest solution. We could automatically create slugs matching the current URLs and then we could rename articles later on (which, with the new system, would create redirects automatically).
It wouldn't make the majority of URLs in the new KB pretty by default, but it would mean a very smooth transition, and we'll have plenty of time to rename (and prettify) articles in the future.
Comment 4•15 years ago
|
||
I think it's the best we have right now without adding another layer of fallback and redirection, further complicating the process of looking up an article by name.
Paul, this bug can be fixed just by using the current title ~s/ /+/ as the slug during the migration.
Assignee: nobody → paulc
Blocks: 586487
Assignee | ||
Comment 5•15 years ago
|
||
This is a good compromise, as it also saves me some trouble and special cases.
Assignee | ||
Updated•15 years ago
|
Hardware: x86 → All
Target Milestone: --- → 2.3
Comment 6•15 years ago
|
||
Let's do it! :)
Do we have spec/mechanism for making redirects if we update the slug but not the page title?
Comment 8•14 years ago
|
||
(In reply to comment #7)
> Do we have spec/mechanism for making redirects if we update the slug but not
> the page title?
We have a couple options we're reviewing from a technical stand point. The results on your end should be very similar.
Assignee | ||
Comment 9•14 years ago
|
||
This is being fixed as part of bug 586487 -- we're making the slugs be exactly equal to titles, except where slugs contain slashes (/) (very few cases).
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 10•14 years ago
|
||
Verified migrated articles play nicely with spaces in the titles, links function
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•