As a Marketer, I want to upload a CSV containing Source URL and Target Page URL pairs to create 301 redirects in the redirect module.
Once the CSV is uploaded, I would to receive feedback regarding:
The total number of redirects in the CSV
The total number of redirects successfully created
The total number of redirects that were not created in the system, with the Source URL and Target page URL displayed for each, categorised into the following two groups:
Redirect with that Source URL already exists
No target page found with the supplied Target page URL
Proposed solution
Create a new admin UI page called Bulk upload which is accessible in the navigation for the module.
On the existing listing page, add an Upload CSV button next to the Create redirect button which is a link to the new bulk upload admin page.
On the new admin UI bulk upload page, a form will be presented to users with:
A Select web channel drop-down list, enabling the user to select which web channel they are uploading redirects for
An `Upload CSV' button.
When a CSV us uploaded, the system shall:
Ensure that each Source URL doesn't already exist in the system. If one does, then the redirect shall be ignored and saved to a list of ignored redirects due to pre-exsting source URLs for later usage for feedback to the user
Ensure that a page exists for the supplied target page URL in the system. The system should take into account checking against both the system and vanity URLs of pages. If no matching page is found, the redirect should be ignored and saved to a list of no matching page found for the supplied target page URL.
Feedback should be displayed directly on the page as two tables, one for each list, with a heading above each table.
The two tables shall be stacked on top of each other (not side-by-side).
Each table shall contain two columns for the Source URL and Target page URL.
The page should include a link to download an example CSV file with the appropriate column headings.
Motivation
As a Marketer, I want to upload a CSV containing
Source URL
andTarget Page URL
pairs to create 301 redirects in the redirect module.Once the CSV is uploaded, I would to receive feedback regarding:
Source URL
andTarget page URL
displayed for each, categorised into the following two groups:Source URL
already existsTarget page URL
Proposed solution
Bulk upload
which is accessible in the navigation for the module.Upload CSV
button next to theCreate redirect
button which is a link to the new bulk upload admin page.Select web channel
drop-down list, enabling the user to select which web channel they are uploading redirects forSource URL
doesn't already exist in the system. If one does, then the redirect shall be ignored and saved to a list ofignored redirects due to pre-exsting source URLs
for later usage for feedback to the usertarget page URL
in the system. The system should take into account checking against both thesystem
andvanity
URLs of pages. If no matching page is found, the redirect should be ignored and saved to a list ofno matching page found for the supplied target page URL
.Source URL
andTarget page URL
.