Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actually do fix inline redirects for all old WP category #1116

Open
amandavisconti opened this issue Oct 2, 2024 · 0 comments
Open

Actually do fix inline redirects for all old WP category #1116

amandavisconti opened this issue Oct 2, 2024 · 0 comments
Assignees

Comments

@amandavisconti
Copy link
Collaborator

amandavisconti commented Oct 2, 2024

Cross out once done.

Long defunct location pages:
RedirectMatch permanent ^/locations/alderman-library-rm-317/ /hours-and-spaces/
RedirectMatch permanent ^/locations/alderman-library-room-421/ /hours-and-spaces/
RedirectMatch permanent ^/locations/alderman-library-room-421-2/ /hours-and-spaces/
RedirectMatch permanent ^/locations/alderman-library-room-423/ /hours-and-spaces/
RedirectMatch permanent ^/locations/alderman-library-room-423-2/ /hours-and-spaces/
RedirectMatch permanent ^/locations/alderman-library-room-423-3/ /hours-and-spaces/
RedirectMatch permanent ^/locations/auditorium-harrison-institutesmall-special-collections-library/ /hours-and-spaces/
RedirectMatch permanent ^/locations/brooks-hall-common-room/ /hours-and-spaces/
RedirectMatch permanent ^/locations/brooks-hall-commons/ /hours-and-spaces/
RedirectMatch permanent ^/locations/brown-library-rm-133-clark-hall/ /hours-and-spaces/

Other pages that didn't feel like they should/could have redirects:
RedirectMatch permanent ^/about/colophon/ /about/#how-was-this-website-made
RedirectMatch permanent ^/about/accessibility/ /accessibility/

Pages below are from old WP blog URL formatting.
Can fix by search-and-replace inside blog text, but need to make new landing pages that redirect to /blog for the old landing pages (Amanda knows how to do this, has done for some past files already)

scholarslab.org/praxis-program/blog-filename
RedirectMatch permanent ^/announcements/(.)$ /blog/$1
RedirectMatch permanent ^/job-announcements/(.)$ /blog/$1
RedirectMatch permanent ^/digital-humanities/(.)$ /blog/$1
RedirectMatch permanent ^/experimental-humanities/(.)$ /blog/$1
RedirectMatch permanent ^/geospatial-and-temporal/(.)$ /blog/$1
RedirectMatch permanent ^/grad-student-research/(.)$ /blog/$1
RedirectMatch permanent ^/podcasts/(.)$ /blog/$1
RedirectMatch permanent ^/technical-training/(.)$ /blog/$1
RedirectMatch permanent ^/uncategorized/(.)$ /blog/$1
RedirectMatch permanent ^/visualization-and-data-mining/(.)$ /blog/$1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Incoming new issues
Development

No branches or pull requests

2 participants