Seo customization
#
How toFirst consider that in all template (all blade.php
files) you have access to some global variables, see the list and explanation here. In routes specific templates (all /src/routes/{myroute}/index.blade.php
files) you have also these variables.
#
Manage localised URLsFile: /config/laravel-frontend.php
These are the defaults, you can override just one or each of them, consider that default_locale
and locales
are just used as fallbacks, if the CMS API provides them those take priority.
rel="canonical"
to a specific route#
Add a File: /src/routes/myroute/index.blade.php
<html lang="">
#
Customise the File: /src/layouts/main/index.blade.php
dataLayer
#
Create a common File: /src/layouts/main/index.blade.php
#
Cookie Banner customizationFile: /src/layouts/main/index.blade.php
Set an external link:
Set an internal route link:
privacypolicy
must be an existing route/pagename in your app.