From fc0a0877488a4085c792e3a2919561b0bde4d5ad Mon Sep 17 00:00:00 2001 From: Ben Word Date: Mon, 3 Jun 2024 15:03:59 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Acorn=20routing=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- acorn/routing.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/acorn/routing.md b/acorn/routing.md index 11c42c7f..c57db15e 100644 --- a/acorn/routing.md +++ b/acorn/routing.md @@ -15,8 +15,10 @@ See [Laravel's routing documentation](https://laravel.com/docs/10.x/routing) to Acorn allows you to use Laravel's routing functionality on your WordPress sites, and will automatically handle Laravel routes defined in the `routes/web.php` file if it exists. +Routes are an easier way to implement virtual pages in WordPress. + ::: warning -Routes are an easier way to implement virtual pages in WordPress. Since registered routes are dynamic, WordPress is not aware of how to handle some functionality including such as setting the canonical URL, setting the ``, and adding SEO-related meta data. Make sure to take this into consideration when adding routes to your site. +Since registered routes are dynamic, WordPress is not aware of how to handle some functionality such as setting the canonical URL, setting the `<title>`, and adding SEO-related meta data. Make sure to take this into consideration when adding routes to your site. ::: ## Basic routing example