Custom Routes
Got some custom routes and don't want to reinvent the SEO implementation? No worries, Advanced SEO got you covered.
Enable Processing
To enable Advanced SEO for a custom route, pass seo_enabled
with a value of true
to the view:
Simply adding this value will enable Advanced SEO to process global fields like site name, social images, and noindex.
Adding Contextual Data
Advanced SEO will process any value whose key corresponds to one of its blueprint fields. The most basic data you should add is a meta title and description:
You can also override any global default value like site name and title separator:
Each value is processed and augmented by the blueprint field corresponding to its key. This means that a value needs to be in the format expected by its field. For example, you can't add an array to the seo_title
field as the blueprint field expects a string.
Last updated