Skip to content

SEO and Metadata

SEO metadata is set in controllers and stored in dictionary fields.

Observed Pattern - Controllers call theme()->setSeoTitle(), setSeoDescription(), setCanonical(), and setRobots(). - SEO fields are stored in dictionary keys such as mgpage_seo_title, location_*_seo_*, and website_seo_*.

Relevant Files - Theme adapter: app/Core/Adapters/Theme.php. - Regional controller example: app/Http/Controllers/Mintocom/MintocomRegionalController.php. - Models: MGPages, Locations, Websites.

Notes - Robots tags are environment-aware and disabled for some development domains in Theme::getRobots().