Old blog (/blogs/...) paths are broken #125
Labels
No labels
A11y
Automated Testing
Contributable
Contributed
Decision
Design
Development
Drutopia
Feature Request
IndieWeb
Infrastructure
Marketing
Needs documentation
status::Abandoned
status::Blocked
status::Deploy
status::Doing
status::Done
status::In Review
status::Needs Clarification
status::Test
status::To Do
type::Bug
type::Task
type::User Story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: agaric/agaric-coop#125
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For example:
Need to be redirected to:
respectively.
@cedewey could you:
blogs
toblog
portion needs to change in every case. (My fear is that as it appears the path did not get migrated, or paths were regenerated without redirects being created, and so some small difference in the rule for making the path, such as which special characters get replaced or short words get skipped, could mean most paths match but a few break. David may have a faster way of checking than manually.)marked the checklist item Review other paths to see if they are also broken. as completed
@mlncn I've checked non-blog-post pages and they paths work as expected.
@mlncn @gnuget I've checked a handful of blog posts and they all use /blogs/[title] I'm confident they're all following this path structure.
@gnuget can you set a redirect rule for all the blog posts from the old site that use /blogs/[title] to the new path /blog/[title]?
assigned to @gnuget and unassigned @cedewey
assigned to @wolcen and unassigned @gnuget
I tagged @cedewey when i meant @wolcen
Chris can you add the redirect rule?
Clayton, Chris has been handling that part.
marked the checklist item Automatically or manually come up with the redirects and/or redirect rules needed and assign to @cedewey to add them. as completed
Assuming that all blogs/* -> blog/$1, the capability to modify htaccess per-site now exists in drutopia_hosting, and the settings for agaric sites is added. Subsequent deploy of the site will install the rules.
Note, this does not redirect blogs -> blog (i.e. w/out a blog title). If needed, just add an additional rule to the config for this. In drutopia_host/hosting_private/):
ahoy vault-edit
and within the agaric_test and agaric_live settings, update the setting:mentioned in issue #131
mentioned in issue #126
assigned to @mlncn and unassigned @wolcen
Thanks @wolcen !
Assigning to @mlncn to check that rewrites worked as expected after deploying.
@cedewey Deployed and back to you :-)
assigned to @cedewey and unassigned @mlncn
@wolcen @mlncn
Redirects didn't work. :'( Example - https://agaric-live-test.drutopia.org/blogs/barcamp9-boston-what-trip
Assigning back to @wolcen
assigned to @wolcen and unassigned @cedewey
@mlncn did you pull drutopia_hosting AND hosting_private prior to pushing (I don't see the RewriteRule being written)? I don't see your deploy record, but it occurs to me that it would be nice if I also record the version of the hosting scripts that perform a deploy.
marked the checklist item Confirm that only the
blogs
toblog
portion needs to change in every case. (My fear is that as it appears the path did not get migrated, or paths were regenerated without redirects being created, and so some small difference in the rule for making the path, such as which special characters get replaced or short words get skipped, could mean most paths match but a few break. David may have a faster way of checking than manually.) as completedRedirects are now working as expected. yahoo!
closed