-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Component/s: Blogs, Collaboration
-
Labels:
-
Sprint:Rhodochrosite 11/22-12/6
Motive
Currently, the URL of a blog entry is determined by its title at the moment it is published and it cannot be changed afterwards. This can be a limitation because if the blogger wants to update the blog entry title afterwards, the friendly url will still be related to the old title.
The aim of this story is to allow users to CHOOSE the friendly URL before the entry is published, and be able to CHANGE IT later.
Acceptance Tests
- By default, the friendly url should be based on the title of the blog entry unless the blogger specifies otherwise by manually introducing a friendly url. If the blogger introduces a friendly url we should use it.
- When the blogger changes the friendly url to a new one, all the previous urls should still work and they should automatically redirect to the latest one to ensure that SEO doesn't get impacted by these friendly url changes.
- If a user updates the friendly url to another one that is in use (as main or former URL) by another entry, he shouldn't be allowed to do it and should get a notification about it. Nevertheless, if this URL is a former URL of the same entry, it should be able to do it.
Uses Cases
Create a new blogs entry with a default, autogenerated, friendly URL
- Fill the title (required to generate the friendly URL)
- Fill the content
- Publish the blogs entry
Expected: The blogs entry is created with a friendly URL that is roughly equivalent to the title (e.g. title: "foo bar" -> url: "foo-bar"). The blogs entry is accessible through that URL.
Needs integration test
Create a new blogs entry with a custom URL title
- Fill the title
- Fill the content
- Fill in a custom URL title
- Publish the blogs entry
Expected: The blogs entry is created with a friendly URL that is roughly equivalent to the provided one. Note that there may be some changes due to URL normalization. The blogs entry is accessible through that URL.
Needs integration test
Change the URL title of a Blogs entry
- Create a new blogs entry as in the use case "Create a new blogs entry with a default, autogenerated, friendly URL"
- Go edit the blogs entry
- Update the custom URL title
- Publish the blogs entry
Expected:
- The blogs entry is created with a friendly URL that is roughly equivalent to the provided one. The blogs entry is accessible through that URL.
- The blogs entry is accessible through the old URL, but a 302 status is returned and the user is redirected to the new one.
Needs integration test; Needs functional test to verify the redirection is correctly performed.
- is related to
-
LPS-69240 As a blogger I want to specify whether I want to manually introduced friendly urls or if they should be autogenerated based on the blog entry title
-
- Closed
-
- relates
-
LPS-67510 As a web content author I can specify a different friendly URL per locale using any unicode character
-
- Closed
-