Skip to content

Commit

Permalink
Note the exception with the blog repo
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Ainali <[email protected]>
  • Loading branch information
ericherman and Ainali committed Jan 8, 2024
1 parent 455bbf4 commit 11f8d8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion activities/documentation/move-merge-delete-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ redirect_from:
- [url link 3]
```

Note: the redirect url should be the file path without `.md` or `.html` extension.
The redirect url should typically be the file path without `.md` or `.html` extension.
The exception is in the `blog` repository where the blog post paths include the category.
Thus, for blog posts the redirect needs to be of the form `/category/yyyy/mm/dd/the-post-slug.html`.

## Redirecting pages

Expand Down

0 comments on commit 11f8d8c

Please sign in to comment.