[wp-trac] [WordPress Trac] #57986: `got_url_rewrite` doesn't support Caddy V2

WordPress Trac noreply at wordpress.org
Mon Mar 27 09:37:00 UTC 2023


#57986: `got_url_rewrite` doesn't support Caddy V2
-------------------------+------------------------------
 Reporter:  sadpencil    |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Permalinks   |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------
Changes (by swissspidy):

 * version:  trunk =>


Comment:

 Hi there and welcome to WordPress Trac!

 How can WordPress detect whether the current web server is a Caddy server?
 Are there any functions it could check?

 > Moreover, it could be better to provide a checkbox, allowing users to
 tell WordPress that it can assume redirects are applied without actually
 checking for it

 The `got_url_rewrite` filter is useful for this.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57986#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list