-
Notifications
You must be signed in to change notification settings - Fork 0
Description
The WordPress template hierarchy allows us to use index.php to route users onward, but we're not presently passing on any paths, so internally set links such as attachment pages and permalinks shown in the admin are incorrect.
Ideally we should be able to configure the appropriate offsite routes to correspond with each template and pass on any necessary parameters such as post IDs and slugs. We'll probably not be able to set an alternate domain however so we should also conditionally redirect depending on the query.
While this is all of course possible with Apache rewrites (which can also be simplified with plugins), the goal here is surface these dependencies and get them pointing to valid pages. The underlying implementation may still rely on these however. See also #2.