Project

General

Profile

Actions

Support #17647

closed

JITP Redirects

Added by Luke Waltzer about 1 year ago. Updated 5 months ago.

Status:
Resolved
Priority name:
Normal
Assignee:
-
Category name:
-
Target version:
Start date:
2023-02-09
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Our friends at JITP are completing their migration to Manifold over the next month, and are asking about the feasibility of setting up article level redirects for all previous pieces from their original permalinks on the Commons to their new locations on Manifold. Would it be feasible and possible to run a script to place these redirects once the old and new urls are compiled?


Files

jitp-redirects.csv (56.8 KB) jitp-redirects.csv Boone Gorges, 2023-10-31 02:30 PM
Actions #1

Updated by Boone Gorges about 1 year ago

Yes, we should be able to help. We'll need to understand the relationship between old article URLs and new ones. Could you, or the JITP folks, provide this for us? Or provide enough examples that we can try to establish a pattern that can be implemented programatically?

Actions #2

Updated by Luke Waltzer about 1 year ago

You bet. Will circle back with that when I have it, likely in a couple of weeks. Thanks Boone!

Actions #3

Updated by Patrick DeDauw 5 months ago

Hi Boone (and Luke!),

We've finally lined up our list of link equivalencies, here on this spreadsheet: https://docs.google.com/spreadsheets/d/1oRM-Pquq9_K7F69rMwmcw_CfUsNkB2uYyYlbulAmuSs/edit?usp=sharing

We've also exported a copy of the website for safekeeping and archiving purposes.

As Luke said, our hope is that each of these Wordpress permalinks will automatically redirect to its Manifold counterpart.

Given Manifold's method of generating permalinks, there's no systematic relationship between the URLs, but they're laid out side by side in the spreadsheet.

Please let me know if there's anything else I can do, or if we haven't explained what we're looking to do well enough.

Thanks so much,

Patrick at JITP

Actions #4

Updated by Boone Gorges 5 months ago

Hi Patrick,

Thanks for sharing the list.

I decided to use our existing Redirection plugin for this. I first activated the plugin, then I manually created one or two redirects from your list, just to test that it works correctly. Then, I created a CSV file containing the rest of your redirects (see attached) and imported at https://jitp.commons.gc.cuny.edu/wp-admin/tools.php?page=redirection.php&sub=io A spot-check indicates that the redirects are working as expected.

There were a few items at the bottom of your list that didn't have values in the 'Manifold Link' column, so I've left them out. But in the future, you can add or manage redirects on your own, at https://jitp.commons.gc.cuny.edu/wp-admin/tools.php?page=redirection.php

Actions #5

Updated by Patrick DeDauw 5 months ago

Works like a charm, and thank you for lining up those future additions (once we tidy those up on the Manifold side). As always, really appreciate your quick and clear work. Hope you have a great rest of your week!

With gratitude,

Patrick

Actions #6

Updated by Boone Gorges 5 months ago

  • Status changed from Testing Required to Resolved

Happy to help! I'm going to mark this as Resolved on my end. Let me know if you have further need of assistance.

Actions

Also available in: Atom PDF