Development: Caddy considerations when using permalinks in WordPress

1. Caddy version (caddy version):

n/a

2. How I run Caddy:

a. System environment:

n/a

b. Command:

n/a

c. Service/unit/compose file:

n/a

d. My complete Caddyfile or JSON config:

n/a

3. The problem I’m having:

The WordPress article Using Permalinks has the one and only reference in WordPress support docs to Caddy. However, the reference is for Caddy V1 so it’s out-of-date!

See post to follow.

4. Error messages and/or full log output:

n/a

5. What I already tried:

n/a

6. Links to relevant resources:

  1. Process check: Spreading the Caddy Word - #31 by basil

Here’s the relevant extract from the article:

Pretty permalinks are available under:

  • Apache web server with the mod_rewrite module
  • Nginx using try-files, e.g. according to this tutorial
  • Hiawatha web server with UrlToolkit support enabled.
  • Lighttpd using a 404 handler or mod_rewrite
  • Caddy using rewrite, e.g. according to this tutorial

Clicking the link to the tutorial takes me to a Caddy V1 article.

I’d like to propose the following changes to the WordPress documentation team:

  1. Revise this extract to read as follows:

Pretty permalinks are available under:

  • Apache web server with the mod_rewrite module
  • Nginx using try-files, e.g. according to this tutorial
  • Hiawatha web server with UrlToolkit support enabled.
  • Lighttpd using a 404 handler or mod_rewrite
  • Caddy automatically in a default WordPress installation.

This is based on feedback from @francislavoie in this post Process check: Spreading the Caddy Word - #16 by francislavoie

  1. Just further down in the WP article, in the section Using “Pretty” permalinks, I propose adding the following bullet point:

This is based on feedback from @Whitestrake in this post Process check: Spreading the Caddy Word - #19 by Whitestrake

Before I submit a request to update the article, I just want to make sure that I’ve interpreted the feedback correctly and this is reflected in the proposed text amendments. Suggestions for improving the proposed text are also welcome.

1 Like

Sounds reasonable :+1:, maybe mention that it’s the default behaviour of the php_fastcgi directive? idk

1 Like

Will do.Thanks!

A WordPress doc update request has been submitted here Using Permalinks: Update Caddy references · Issue #8 · WordPress/Documentation-Issue-Tracker · GitHub

This topic was automatically closed after 30 days. New replies are no longer allowed.