Skip to content

Commit fb84ad5

Browse files
authored
refactor: update redirect rules (#396)
1 parent dc9425f commit fb84ad5

File tree

2 files changed

+20
-12
lines changed

2 files changed

+20
-12
lines changed

public/_redirects

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,28 @@
1+
# External redirects
12
/install.sh https://raw.githubusercontent.com/ddev/ddev/main/scripts/install_ddev.sh 302
3+
4+
# Short link redirects
25
/s/port-conflict https://ddev.readthedocs.io/en/stable/users/usage/troubleshooting/#web-server-ports-already-occupied 301
36
/s/discord https://discord.com/invite/5wjP76mBJD 301
4-
/ddev-local/ddev-wsl2-getting-started/ https://ddev.readthedocs.io/en/stable/users/install/ddev-installation/#windows 301
5-
/ddev-local/apache-solr-with-drupal-8-and-search-api-solr/ https://github.com/ddev/ddev-drupal9-solr 301
6-
/ddev-local/ddev-local-web-container-customization-in-v1-8-0/ https://ddev.readthedocs.io/en/stable/users/extend/customizing-images/ 301
7-
/ddev-local/ddev-local-nfs-mounting-setup-macos/ https://ddev.readthedocs.io/en/stable/users/install/performance/#nfs 301
7+
/s/divide-and-conquer https://www.fldrupal.camp/session/divide-and-conquer-systematic-approach-troubleshooting-issues 301
8+
/s/divide-and-conquer-drupal4gov https://docs.google.com/presentation/d/1_OyAwQGTtz9xv1e_Qzau4Rarum5xQpPy0uS7ntA9leI/edit?usp=sharing 301
9+
10+
# Generic blog redirects
811
/ddev-local /blog 301
9-
/ddev-local/ /blog 301
12+
/ddev-local/* /blog/:splat/ 301
13+
/blog/:slug /blog/:slug/ 301
14+
15+
# Removed blog post redirects, add trailing slashes here to make it work properly
16+
/blog/ddev-wsl2-getting-started/ https://ddev.readthedocs.io/en/stable/users/install/ddev-installation/#ddev-installation-windows 301
17+
/blog/apache-solr-with-drupal-8-and-search-api-solr/ https://github.com/ddev/ddev-drupal-solr 301
18+
/blog/ddev-local-web-container-customization-in-v1-8-0/ https://ddev.readthedocs.io/en/stable/users/extend/customizing-images/ 301
19+
/blog/ddev-local-nfs-mounting-setup-macos/ https://ddev.readthedocs.io/en/stable/users/install/performance/#filesystem-performance-nfs 301
20+
/blog/ddev-local-and-phpstorm-debugging-with-wsl2/ https://ddev.readthedocs.io/en/stable/users/debugging-profiling/step-debugging/#phpstorm-debugging-setup 301
21+
22+
# Authors redirects
1023
/meet-the-team /blog/authors 301
1124
/meet-the-team/ /blog/authors 301
25+
/blog/author/ /blog/authors 301
1226
/author/heather /blog/author/heather-mcnamee 301
1327
/author/rfay /blog/author/randy-fay 301
1428
/author/rmanelius /blog/author/rick-manelius 301
15-
/ddev-local/:slug /blog/:slug 301
16-
/ddev-local/:slug/ /blog/:slug 301
17-
/s/divide-and-conquer https://www.fldrupal.camp/session/divide-and-conquer-systematic-approach-troubleshooting-issues 301
18-
/s/divide-and-conquer-drupal4gov https://docs.google.com/presentation/d/1_OyAwQGTtz9xv1e_Qzau4Rarum5xQpPy0uS7ntA9leI/edit?usp=sharing 301
19-
/blog/ddev-local-and-phpstorm-debugging-with-wsl2 https://ddev.readthedocs.io/en/stable/users/debugging-profiling/step-debugging/#phpstorm-debugging-setup 301
20-
/blog/ddev-local-and-phpstorm-debugging-with-wsl2/ https://ddev.readthedocs.io/en/stable/users/debugging-profiling/step-debugging/#phpstorm-debugging-setup 301

src/pages/blog/authors.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const title = `Blog Authors`
2626
>
2727
{
2828
activeAuthors.map((author) => (
29-
<div>
29+
<div class="dark:text-white">
3030
<a href={`/blog/author/${author.id}`}>{author.data.name}</a>
3131
</div>
3232
))

0 commit comments

Comments
 (0)