- Make sure that the
BreadCrumbsList
JSON-LD andlink rel="home"
tags respect thesiteUrlOverride
setting
- Fixed some minor UX spacing issues on Craft CMS 3.4
- Added
seomatic.helper.isPreview
and updated the tracking scripts to utilize it, to handle Craft 3.2 deprecation ofcraft.app.request.isLivePreview
- Added an
account
column to the Same As URLs so you can store the social media account (if any) along with the URL - Added
seomatic.helper.sameAsByHandle(HANDLE)
to retrieve information about one of the Same As URLs by handle
seomatic:dashboard
permission is now required for the displaying of the Dashboard
- Added the ability for sitemaps to extract images & video from SuperTable fields
- Added the ability for text to be pulled from SuperTable fields for SEO Descriptions, etc.
- Fixed a regression that caused you to no longer be able to put an array of values in the
content
field of anog:image
tag for multiple OpenGraph images - Fixed a regression that could cause SEO Settings fields to not propagate images properly
- Added rules to
MetaJsonLd
to allow for mass-setting via.setAttributes()
ofid
,type
, andcontext
- Eliminated harmless JavaScript errors if a keywords element doesn't exist
- Social Media preview targets are now only added if the element has a
uri
that is notnull
- SEOmatic will now send back an array of data in the
metaScriptContainer
for GraphQL, etc. so that you can get at both thescript
andbodyScript
even ifisArray
is false - When an entry is saved, if the value in an SEO Settings field matches the value in Content SEO for that section, the field is set to an empty value to allow for overriding
- Fixed an issue where you couldn't change the Facebook OpenGraph Type in Content SEO if you had an SEO Settings field added to that section
- SEO Settings fields no longer defaults to whatever the parent element's Content SEO settings, which fixes the override cascade
- Saving changes to the SEOmatic settings will now also clear the GraphQL caches on Craft 3.3 or later
- SEOmatic now tracks if sitemap jobs are pushed into the queue, and will release old sitemap queue jobs so that they don't stack up
- Fixed an issue where the JavaScript console could have an error logged if there were no keywords
- Make sure
twitter:creator
andtwitter:site
are not resolve as aliases
- Throw an exception if an invalid sort field is passed into the
actionMetaBundles()
controller method, to eliminate a low-impact SQL injection vulnerability
- Fixed a low-impact SQL injection vulnerability
- Added a
siteUrlOverride
config setting for when you need to override thesiteUrl
, for instance in a headless GraphQL or ElementAPI setup
- If a
config/seomatic.php
file is present, use that as the source of truth for the'environment'
setting - Refactored the plugin settings into separate tabs to make them easier to use
- Removed thousands separator from Product schema
- Made the
robots
default to an empty value for SEO Settings fields - Updated the URL for sitemap submissions to the Bing search engine
- URL encode the query part of the sitemap submissions to search engines
- Added
MAX_TEMPLATE_LENGTH
to prevent rendering super large object templates
- Renamed several JSON-LD core types that were using reserved PHP 7 class names
- No longer match disabled elements unless we’re previewing
- Rolled back a change that could cause the CP and site to slow down on uncached requests
- Fixed the base image transform to be
'position' => null
- SEOmatic will now invalidate container caches if they contain pending image transforms
- Enforce the
og:locale
andog:locale:alternaate
formats ofxx_XX
even for two-character language codes - Set
'position' => 'null'
for the base image transforms
- If an section has its robots set to
none
ornoindex
in Content SEO, don't add it to the sitemap index - Add a Lowercase Canonical URL setting to Plugin Settings
- Fixed an issue with the
DataType
JSON-LD type - Cleaned up the GraphQL type generator
- The sitemaps and sitemap indexes that SEOmatic generates are now automatically minified
- Added native GraphQL support
- Fixed an issue with breadcrumbs beyond the first one
- Fixed an issue where SEOmatic would put multiple sitemap entries for recurring Solspace Calendar events
- Removed errant logging in the Content SEO controller
- Fixed an issue where the script tag caches could be outputting something other than a string
- Updated the Breadcrumbs format to match Google's new format requirements
- More specifically list what happens in
local
dev &staging
environments
- Fixed an issue where
mainEntityOfPage
overrides via an SEO Settings field could be the wrong model type
- Fixed a potential XSS issue if you used
{% do seomatic.helper.paginate() %}
and there was a malformed query string - Replaced frontend api route with an actionUrl()
- Fixed a typo in the environment info popup
- If the SEO image is not on a local volume, avoid a potentially long round-trip by being paranoid, and defaulting to not generating the image transform immediately
- Cleaned up the
title
parsing to allow forsiteName
only titles more cleanly - If the source asset file is missing, set
generateNow
tofalse
rather thannull
, overridinggenerateTransformsBeforePageLoad
- Maintain the currently selected site between global nav items in the CP sidebar
- Fixed an issue where SEOmatic would errantly say the environment was disabled
- Parse the SEOmatic environment variable in the environment check
- Preflight to ensure that the source asset actually exists to avoid Craft hanging
- Fix incorrect event type for
RegisterSitemapUrlsEvent
- Added a Environment label on the Dashboard, with explanations for why the environment setting is overridden (if it is)
- Strip the query string at render time for the
canonical
link, to ensure any Craft 3.2token
params are stripped
- Added searching, sorting, and pagination to the Content SEO pages
- Typecast the
sourceName
andsourceTemplate
to a string before validation - Moved over to a more modern tokenfield library for SEO Keywords
- Typecast the
sourceName
andsourceTemplate
to a string everywhere, to handle numeric section/template names - No longer use
error
andwarning
log levels for MetaItem debug messages - No longer use
error
log levels for MetaTag debug messages
- Added Social Media Preview Target plugin setting
- Added
X-Robots-Tag: noindex
header to the sitemaps to prevent the sitemaps themselves from appearing in the SERP
- Fixed an issue with the sitemap generation not respecting an already running queue
- Fixed an issue where assigning a Rich Text field to a JSON-LD property didn't work
- Added typecast behavior to the
MetaBundle
model - Typecast the
MetaBundle
sourceName
to a string
- Added to the cache tag dependencies for the Field's preview data
- Added
sourceType
to theInvalidateContainerCachesEvent
event - Added
siteId
andsourceType
to the source cache tag dependencies
- Prevented public accessing of the Social Media Preview
- Added a 📣 in front of the Social Media Preview
- Added Social Media Preview as a Live Preview target on Craft 3.2 or later
- Do not invalidate meta bundle for drafts and revisions in Craft 3.2 or later
- If an entry has its robots set to
none
ornoindex
, don't add it to the sitemap - Only append
mtime
to an SEO image if there are no query params already
- The generated JSON-LD now uses a single root JSON-LD object with the JSON-LD types included in the
@graph
array
- Fixed an issue where headers were sent when the corresponding tags were not present
- Fixed an issue that caused SEOmatic to throw an error after you deleted a Solspace Calender calendar
- If we're not in local dev, tell it to generate the transform immediately so that urls like
actions/assets/generate-transform
don't get cached - Add an
mtime
cache busting URL param to all social media images - The Facebook and Twitter Transform and Transform Mode settings are now visible even if "Same As SEO Image" is selected
- Fixed an issue where the built JS bundles would error inside of webpack
- Switched over to
startDateLocalized
&endDateLocalized
for Solspace Calendar defaults - Fixed an issue with the Breadcrumbs JSON-LD not being generated properly for sites that has a path as part of their URL (e.g.
example.com/us/
) - Handle an edge-case where a migration didn't work properly to add
ADS_TXT_HANDLE
- Fixed an issue where an error would be thrown if a new Section was created, and you had a site group that had no sites in it
- Fixed an issue where the SEOmatic CSS was affecting the CP CSS
- Fixed the Look up Latitude/Longitude button; it now opens www.latlong.net because Google requires an API key now
- Added the ability to pass in
asArray
as a parameter for CraftQL queries to a JSON-encoded array of data back - Updated build system
- Updated to schema.org 3.6 with over 900 JSON-LD Structured Data schemas!
- Added
FAQPage
schema type from schema.org - Ensure that URLs with spaces or other non-RFC1738 compliant characters are encoded
- Replace "steps" by "step" in HowTo JSON-LD
- Changed
copyrightYear
to output just the year - Fixed an issue with the JavaScript bundle not instantiating for SEO Settings fields
- Updated to latest npm deps
- Fixed a typecasting issue that caused
link rel="alternate"
to render for entries that were disabled for a particular site - Remove pagination via query string for
link rel="alternate"
- Remove the pointless
Twig_Node_Expression_EmptyCoalesce
class
- Fixed an issue where the new SEO Settings Field implementation could cause images to be duplicated
- Fixed an issue where JSON-LD schema could not be properly overridden via an SEO Settings field
- Fixed an issue where the dynamically populated schema menu would have improper padding in the
value
s
- Fixed an issue where a Section with no elements in it could cause the Sitemaps queue job to stall
- Fixed Slack & Discord “summary card” CSS
- Fixed an issue where the Site Setup checklist wasn't accurately reflecting the site settings
- Fixed an issue where trying to create a new section would throw a Type Error, preventing you from doing so
- Added SEO Previews for LinkedIn, Pinterest, Slack, and Discord
- Added the ability to control what SEO Previews appear in the sidebar
- Added CraftQL support for fetching SEOmatic container meta data
- Added support for Solspace Calendar events for custom metadata, JSON-LD, etc.
- SEO Settings fields now default to whatever the parent element's Content SEO settings are when instantiating it
- The Dashboard setup checklists now display checkboxes for items have have been set up properly
- Added a
SeoElementInterface
to abstract out the support for custom elements
- Changed paginated
rel="alternate"
URLs to always point to the first page in other languages, not the paginated page (that may or may not exist) - Fixed an issue in
getLocalizedUrls()
so that it handlesgetElementUriForSite()
returning bothnull
andfalse
- If a meta value with the key of
target
(used for schema.orgSearchAction
s) doesn't have a{
as the first character, it is not parsed as Twig - Fixed an issue where environment variables in tracking scripts were not parsed
- Added the
???
Empty Coalesce operator to allow for the easy cascading of default text/image SEO values
- Fix the
addXDefaultHrefLang
so it doesn’t throw an error if enabled
- Don't create
rel=alternate
links for sections that aren't enabled for a site - Added a new
addXDefaultHrefLang
setting (which defaults totrue
) to control whether thex-default
hreflang
tag is included - Updated Twig namespacing to be compliant with deprecated class aliases in 2.7.x
- Changed the default Google Tag Manager data layer variable back to the default
dataLayer
(which it should have been all along) - Fixed
SoftwareApplication
JSON-LD object model
- Added
/cache/
to the default paths excluded inrobots.txt
to auto-exclude the default Blitz/cache/blitz/
path - SEOmatic now throws a
AddDynamicMetaEvent
event to give modules/plugins a chance to add any dynamic meta items to SEOmatic's containers - SEOmatic now throws a
InvalidateContainerCachesEvent
event whenever it clears its meta container caches, so other plugins/modules can listen in for it - No longer regenerate sitemaps when a Section is edited and
'regenerateSitemapsAutomatically' => false
- Update the display name of sections, category groups, and products in Content SEO when they are edited
- Added
Environment::determineEnvironment()
so SEOmatic is can be smarter about automatically mapping environments - Allow the SEOmatic Environment plugin setting to be an Environment Variable in Craft 3.1 or higher
- Allow for Section handles that are longer than 64 characters
- Fixed an issue where the
mainEntityOfPage
could reset to the defaultWebPage
if you saved the settings on panes other than General - Fixed an issue with paginated
rel="alternate"
links on a multi-site setup where the slugs differed from site to site
- Use dash instead of underscore for sitemap urls
- Don't allow editing of the plugin settings if
allowAdminChanges
is false - Sort Content SEO listings by name to make things easier to find
- Add missing properties to the
Question
JSON-LD schema
- Fixed an issue where
container.clearCache
wasn't using the correct cache key to invalidate the cache - Fixed an issue where Google Tag Manager would render in Live Preview
- Added try/catch around alias/parseEnv to try to catch errors that shouldn't happen
- Fixed an issue with the URL in the sitemap index to the custom sitemap was invalid
- Fixed an issue when using the meta containers controller with tracking scripts
and asArray=true
- Fixed an issue in Content SEO if no field layouts are yet defined
- Fixed a regression where pagination info is stripped from hreflang
- Add
JSON_HEX_TAG
flag for encoding JSON-LD to ensure that<
&>
are escaped - Addressed an issue where you couldn't set the Main Entity of Page to nothing in Content SEO settings
- Fixed an issue where
.env
vars were not actually parsed for the Tracking settings
- If you're using Craft 3.1, SEOmatic variables/fields are parsed for environment variables as well as aliases
- All tracking fields auto-complete
.env
environment variables
- Fixed an issue with sitemap generation if your Section had a Neo field in it
- Fixed an issue if you passed in no parameters to
seomatic.helper.getLocalizedUrls()
could cause the incorrect localized URLs to be returned - Removed errant error logging
- Added a SEO Setup checklist to the Dashboard
- Added support for pulling content from Neo fields
- Fixed an issue where the generated
hreflang
URLs were wrong if you had localized slugs - Sitemaps now return a 503 Service Unavailable an a
Retry-After
so bots will try back later if for some reason they can't be rendered for the current request (Async Queue generation, etc.) - Fixed a namespacing issue with
UrlHelper
- Handle the case where no sections have been set up yet more gracefully
- Register cache options for every type of request
- Refactored the sitemaps and sitemap indexes to always be in the server root, as per the sitemaps spec
- Ensure that title truncation handles edge cases gracefully
- Breadcrumbs in the CP now maintain the selected site
- Parse sitemaps and sitemap URLs for aliases and as Twig templates
- Don't try to add assets with null URLs to sitemaps
- Added the ability to add additional sitemaps that exist out of the CMS into the
sitemap.xml
via Site Settings -> Sitemap as well as via plugin
- Fixed an issue where
LocalBusiness
JSON-LD type didn't inherit all of the properties fromPlace
that it should - Fixed an issue with
seomatic.helper.getLocalizedUrls
not working as expected for routes other than the current request - Fixed an issue where plugin-generated custom sitemap URLs didn't have their
lastmod
respected for the sitemap index - Fixed an issue accessing
metaBundleSettings
in the Field when it doesn't exist
- Fixed an issue where the
potentialAction
JSON-LD for the Site Links Search was rendered even if it was left empty - Fixed an issue where the SEO Settings field did not properly override the
mainEntityOfPage
- Added a level 2 cache on the controller-based API requests for meta containers to improve "headless" performance
- Added support for LinkedIn Insight analytics in Tracking Scripts
- Added support for HubSpot analytics in Tracking Scripts
- Display the status of tracking scripts in the listing section
- Allow editing of the tracking scripts body scripts
- Added the Open Graph tag
og:site_name
- Removed
craftcms/vue-asset
composer dependency - Call
App::maxPowerCaptain()
whenever a queue is manually run (both via web and console request)
- Fixed an issue with socialTransform() throwing a Twig exception
- Added
<title>
prefixes for the Control Panel anddevMode
Control Panel - Allow social media images to be either
.jpg
or.png
formats
- Added a console command
./craft seomatic/sitemap/generate
to generate sitemaps via the CLI - Added the SEOmatic->Plugin setting Regenerate Sitemaps Automatically to control the automatic regenerate of sitemaps
- Fix division by zero error if no sections exist
- Dynamically base the Twitter transform type from the current evaluated type, rather than hardcoding it
- Added support for the ads.txt Authorized Digital Sellers standard
- Clear FastCGI Caches upon sitemap generation
- If
runQueueAutomatically
istrue
return the generated sitemap immediately via http request - Adjusted Control Panel dashboard charts
- Fixed an issue where the Content SEO settings would display sections that are not enabled for a given site
- Added the ability to show SEO Settings fields in the Element Index's Table Columns
- Redid the Dashboard graphs to be more useful and modern looking
- Modernized package.json and webpack build
- Confetti on install (yay!)
- Remove
__home__
from preview URIs - Fixed a regression that caused the SEO Settings field to not override things like Facebook/Twitter images properly
- Fixed an issue that caused the SEO Settings field to not display tabs properly if the General tab was hidden
- Fixed an issue where sitemaps generated in the Control Panel did not have the proper cache duration set, so they were always invalidated
- Disabled tracking scripts from sending Page View data during Live Preview
- Ensure background image values are quoted for the SEO previews
- If
runQueueAutomatically
is set, start running the queue job to generate the sitemap immediately
- Don't regenerate the sitemaps when elements are being re-saved enmasse via Section resaving
- Fixed JavaScript console error due to outdated assets build
- Moved sitemap generation to a queue job, to allow for very large sitemaps to be generated without timing out
- Normalize the incoming URI to account for
__home__
- Added the ability to control the depth that sitemaps should be generated for Categories (just like already existed for Structures)
- Added
EVENT_INCLUDE_CONTAINER
event to manipulate containers - Always create sitemap URLs from the given site, since they have to have the same origin
- Added labels to the Google, Twitter, and Facebook previews
- Fix rendering for MetaLink and MetaTag with multiple tags when requesting them via Controller
- Fixed an issue where SEO Settings fields would override the Sitemap settings even if that was disabled
- Fixed an issue with the SEO Settings field when switching between Entry Types
- Pass down the
$uri
and$siteId
toaddDynamicMetaToContainers()
toaddMetaLinkHrefLang()
- Fix rendering of canonical and home links from Controllers
- Fixed an issue with there Dashboard charts could be out of sync if sections were deleted/renamed
- Use the default transform mechanism for SEO images
- Only include the fields the user is allowed to edit in the SEO Settings overrides
- Fixed an issue where Twitter images could be resized improperly based on the card type
- Returns the correct
sitemap.xml
for multi-site "sister site" groups - Cache frontend templates on a per-site basis
- Make sure that
humans.txt
links are full URLs - Handle the case where all Same As URLs are deleted
- Fixed an issue where
hreflang
tags were still added even with the setting was disabled, but only for paginated entries - Changed the default
title
length to70
and the defaultdescription
length to155
- Fixed an issue where nested JSON-LD objects would contain erroneous
key
andinclude
properties
- Fixed an issue where choosing All for sitemap Structure Depth resulted in it displaying nothing
- Fixed an issue with the SiteLinks Search Box not having the correct format in
query-input
- Fixed an issue where Craft could sometimes hang if we asked for an image transform with
generateNow
=true
- Added the
.clearCache
property to all meta containers, allowing them to be manually cleared via Twig - Don't include any dynamic metadata for response codes
>= 400
- SEOmatic will now automatically take the
dataLayer
property into account for the script container's cache key - Better document titles for SEOmatic Control Panel pages
- Remove vestigial Redirects classes
- Don't check the response
statusCode
for console requests
- Added memoization cache to the FieldHelper class to help improve inner loop performance
- Add the ability to control structure depth for sitemaps
- For requests with a status code of >= 400, use one cache key
- Changed the Composer dependency for
davechild/textstatistics
to lock it down to1.0.2
Semver?
- Fixed an
undefined index
error
- Added the Site Groups define logically separate sites Plugin Setting to allow for different Site Group use-cases
- Removed potential duplicates from
og:locale:alternate
- Don't include
alternate
orog:locale:alternate
tags for Content SEO sections that have Sitemaps disabled - Handle disabled sections for sites in Content SEO better
- Fixed an error trying to access a property of a non-object in MetaContainers.php
- Prevent classname conflict with older versions of PHP
- Fix an issue where transform modes didn't work with Custom Image sources
- Scale the
logo
to fit to 600x60 as per Google specs
- Handle elements that don't exist on other sites better
- Don't include hreflang in sitemaps for sites where it has been disabled, whether through Content SEO or SEO Settings field settings
- Hide Transform Image and Transform Type in the SEO Settings field if they aren't enabled
- Fixed a conflicting use \craft\helpers\Json import
- Fixed an issue where sitemap caches were not getting properly cleared
- Fixed an issue where elements disabled in a site were showing up in the
hreflang
- Fixed namespaces and custom sitemap event triggering
- Added in the ability to override sitemap settings on a per-Entry/Category Group/Product basis
- Implement
Json::decode()
to avoid large integers being converted to floats - If the SEO Settings field for an entry has Robots set to
none
or has sitemaps disabled, it isn't included in thehreflang
- Added a setting to control whether
hreflang
tags are automatically added
- Ensure that the sitemap index cache gets invalidated when entries are modified
- Specify
rel="noopener"
for external links. - Fix the order that the field migration happens to let the mapping magic happen
- SEOmatic now requires Craft CMS 3.0.20 or later
- Fixed an issue with paginated pages that have no results on them
- Fixed a potential
undefined index
error with pull fields, resulting from the new cropping modes
- Added the ability to choose between Crop (the default), Fit, or Stretch for the SEO, Twitter, and Facebook image transforms
- Brought back the missing ** Transform Facebook OpenGraph Image** field
- Don't do anything with pagination on console requests
- Make the base
Container
class extendFluentModel
so that containers can be accessed via templates just like MetaTags are - Ensure that we check to see if a container's
include
property is set before rendering it - Use a unique cache key for everything for the request, including the pagination and URI
- Prep script containers for inclusion in
includeScriptBodyHtml()
- Fixed a regression that caused an error loading entries
- Cleaned up how the pagination cache key works
- Add the current request path into the mix for the meta container cache key
- Force social media values to be displayed as strings
- Fixed an issue where SEOmatic wouldn't find Entry metadata if the entry was first saved as a Draft, then published
- Include the pagination page in the cache key to ensure paginated pages are uniquely cached
- Fixed a regression that caused you to be unable to save Custom URL for an image source in the Control Panel
- Fixed an issue where Content SEO permissions were not respected properly in the Control Panel
- Display the Tracking Scripts status in the Control Panel regardless of
devMode
setting
- Don't render a canonical url for http status codes >= 400
- Set meta robots tag to
none
for http status codes >= 400
- Decode HTML entities, then strip tags in
safeCanonicalUrl()
- Really ensure that paginated pages are cached separately in the second-level cache
- No longer include any matched element in the Content SEO previews (which can be confusing if there are SEO Settings field overrides)
- Ensure that paginated pages are cached separately in the second-level cache
- Fixed an issue where changes to the SEO Image would not propagate to the Facebook/Twitter image when changed if "Same as SEO Image" was set
- Changed the way requests that don't match any elements generate the
canonicalUrl
, to avoid potentially executing injected Twig code
- Added Additional Sitemap URLs to Site Settings -> Miscellaneous for custom sitemap URLs
- Added
EVENT_REGISTER_SITEMAP_URLS
event so plugins can register custom sitemap URLs - Added the
Referrer-Policy
header based on the value of thereferrer
tag - Added the ability to control whether any http response headers are added by SEOmatic
- Added the Facebook OpenGraph tags
og:image:width
&og:image:height
- Added the Twitter card tags
twitter:image:width
&twitter:image:height
- Clear SEOmatic caches after saving the plugin settings
- Fixed an issue where boolean settings in meta containers that were set to false would not override as expected
- Fixed an issue with the language being set to
en_US
instead ofen-US
ingetLocalizedUrls()
- Fix parsing logic error in
MetaValue
- Fixed an issue where the SiteLinks Search Box wouldn't work because it errantly parsed the setting as Twig
- Better title for pull field dropdown menus
- Fix potential preview issues in Content SEO for certain multi-site setups
- Added full support for Craft Commerce 2
- Added a caching layer to
includeMetaContainers()
for improved performance - Added more fine-grained profiling data
- Re-organized how event handlers are loaded to allow for compatibility with Fallback Site plugin
- Canonical URLs are now always lower-cased, and made absolute
- Fixed an issue where the SiteLinks Search Box wouldn't work because it errantly parsed the setting as Twig
- Allow for default empty settings for the SEO Settings field for things like the Twitter Card type, etc.
- Added a warning to let people know tracking scripts are disabled when
devMode
is on - Fixed an issue with JSON-LD dropping certain properties if non-default types were selected
- Strip tags from the incoming
craft.app.request.pathInfo
for thecanonicalUrl
- Fixed the breadcrumbs link on the Plugin Settings page
- Fixed an issue where users without admin privileges could not save the SEOmatic Plugin Settings
- Fixed an issue where category groups would be lumped together in the sitemap
- Fixed an issue with og:locale and og:locale:alternate being improperly formatted
- Allow the use of Emoji in the plugin settings, such as for the
devMode
title prefix
- Set the default devMode title prefix to 🚧
- Sync section / category group handles that are renamed
- Don't log meta item error messages unless
devMode
is on - Don’t encode preview URLs
- Fixed an issue where disabling a section’s URLs was not sync properly with the Content SEO settings
- Added support for emojis in any of the SEOmatic fields
- Fixed an issue introduced in Craft CMS 3.0.10 that would cause JSON-LD to be not fully rendered
- Allow nothing (
--
) to be selected as a Source Field in the Image/Video Sitemap fields - Added cache busting to the SEO preview images so that they will always display the latest image
- Fixed an issue where removing an SEO Image from an SEO Settings field would cause it to persist
- Remove default value for devMode Prefix that prevented it from saving an empty value
- Fix default values for Title position, Twitter Title position, and OG Title position
- Allow for the setting of the
dataLayer
via Twig for Google Tag Manager - Added pagination support via
seomatic.helper.paginate()
to properly set the paginatedcanonicalUrl
as well as the<link rel='prev'>
and<link rel='next'>
tags - Preserve the pagination trigger query string for the
<link rel='hreflang'>
tags
- Fixed
ContactPoint
rendering - Fixed an issue where an array of one JSON-LD would not render
- Make JSON-LD URLs fully qualified
- Make sure
twitter:creator
andtwitter:site
are not resolve as aliases - Fixed an issue where
syncBundleWithConfig
could returnnull
- Preserve the FrontendTemplate settings during meta bundle updates
- Ensure that the previews are not double-encoded
- Remove vestigial meta bundles from the sitemap index
- Fixed an issue where the JSON-LD types weren’t correct
- Sync bundle when Global SEO, Content SEO, and Site Settings are changed
- Ensure that the first character of each meta item key is lower-cased
- Render JSON-LD properties that have an
@id
set
- Make the various
seomatic.helper
functions more tolerant about havingnull
passed in as a parameter
- Fixed a regression that the
rel="alternate"
link tags to not render properly - Fixed a regression where the Site Settings would throw an exception
- Fixed a regression that caused per-environment settings to be applied in the Control Panel
- Fixed an issue that caused
seomatic.xxx.get()
to not returnnull
if no matching item was found
- Ensure that any image or video URLs in the sitemap are full absolute URLs
- Fixed multiple issues with the
gtag.js
script that prevented it from working properly - HTML-encode all URLs and user-enterable data in the sitemaps and sitemap indexes
- Fixed an issue where the meta items are not indexed properly, causing you to be unable to get them from the Twig API
- Fixed an issue where meta items that should have been excluded by environment were not
- Fixed an issue where the
gtag
body script did not properly render - Fixed an issue where empty results for pull fields would not fall back on the parent (usually global) settings
- Fixed an issue where
seomatic.helper.loadMetadataForUri()
might not replace the container metadata properly
- Switch from
.one()
syntax to[0]
to account for eager loading of transformed social media images - Fixed an issue where SEOmatic incorrectly showed how many categories were in a category group on the Content SEO page
- Fixed an issue where Content SEO social images wouldn't fall back on the global images if they were set to "Same as SEO Image" and the SEO Image was empty
- Fixed a typo in the SEO Settings field settings
- SEOmatic no longer renders the
rel="author"
tag if you havehumans.txt
disabled
- Added translations for the SEO Settings Field options
- Removed
'interlace' => 'line'
from the social media transforms, which inexplicably caused Focal Points to not be used - Fixed an issue where the JSON-LD would not fully render due to a regression
- Fixed incorrect social media permissions that prevented access to that settings page
- Fixed an issue where
section
meta bundles would be improperly marked asfield
due to a regression in the migration importing code - Fixed an issue where
categoryGroup
meta bundles would be improperly marked asfield
due to a regression in the migration importing code - Removed OpenGraph tag dependency on
facebookProfileId
orfacebookAppId
being present - Fixed Pinterest verification tag dependency
- Bumped the schemaVersion
- Added a migration to remove any errant
seomatic_metabundles
rows that havesourceBundleType
set tofield
- Fixed an issue when migrating data from Craft 2.x
Seomatic_Meta
fields and an Asset was set to "Custom"
- Removed excessive validation that was causing SEOmatic Fields to not save properly
- Fixed a regression that caused SEOmatic to not import data from old Craft 2.x
Seomatic_Meta
fields properly
- Fixed a regression that caused the Section meta bundles to be the wrong type
- Better instructions for the Canonical URL
- Updated translations
- Use correct
sourceBundleType
for Field meta bundles - Fixed a regression that caused Content SEO sections to not save properly
- Don't display Sections / Category Groups in Content SEO that no longer have public URLs
- Fixed an issue with console requests
- Fixed an issue where Sections and Category groups with the same
handle
didn't work right in Content SEO - More validation on the data passed into the SEO Settings field as a config array
- Fixed an issue where re-using the same Field handle from other Field types would cause an exception to be thrown in the Control Panel
- Improved the way SEOmatic matches the current element
- Bypass the data cache entirely in the Control Panel, to avoid refresh issues
- Fixed an issue where sometimes the correct data is not what is previewed in the Control Panel
- Fixed an issue where the
canonicalUrl
seemed immutable on the Global SEO pages
og:image
tags are now validated to ensure they are fully qualified URLsog:image
tags now are converted to absolute URLs (to handle protocol-less URLs)twitter:image
tags are now validated to ensure they are fully qualified URLstwitter:image
tags now are converted to absolute URLs (to handle protocol-less URLs)- Added missing translations
- Fixed an issue where Tracking Scripts permissions weren't all propertly presented
- Fixed an issue with sitemap indexes for elements that have null URLs
- Fixed an issue with permissions and the Tracking Scripts page
- Official GA release
- Fixed a regression that caused the Site switcher to no longer work in the SEOmatic settings
- Fixed a regression that could cause the sitemap index to include the appropriate sections
- Fixed an issue where the social transforms sometimes might not render properly
- SEOmatic now requires Craft CMS 3.0.2 or later (so we can listen to
TemplateCaches::EVENT_AFTER_DELETE_CACHES
) - Handle Section or Category Groups that may have had their handles renamed
- SEOmatic now clears its caches any time
TemplateCaches::EVENT_AFTER_DELETE_CACHES
is triggered - If the FastcgiCacheBust plugins is installed, clear its caches when SEOmatic clears its own caches
- Added performance profiling to major bottlenecks
- Lots of code cleanup courtesy of the PHP Inspections plugin
- Fixed an issue with the Field improperly saving values as objects
- Removed caching from Control Panel requests, which fixes improperly displayed social media previews
- Fixed a deprecation error with
.iso8601()
- Don't display the Facebook/Twitter not set in the sidebar preview, only on the Settings pages
- Added an
Seomatic_Meta
Field to more gracefully handle sites upgraded from Craft 2.x that used the old FieldType - If you add an SEO Settings field to a Section that has an old Craft 2.x Seomatic Meta field in it, it will automatically migrate the data and settings to the new field for you
- SEOmatic will automatically map your old Craft 2.x Field settings to corresponding Content SEO settings
- Better Dashboard display of SEO setup graphs
- Fixed an issue with an improperly named Site / Social Media permission
- Fixed an issue with the helper functions not gracefully handling
null
being passed in - Fixed validation errors that could cause you to be unable to save changes to various SEOmatic settings
- Added additional fields for the
mainEntityOfPage
JSON-LD - Clicking on Settings on from the Control Panel now redirects to the appropriate SEOmatic sub-nav
- Added an SEO Settings Field that allows you to override SEO settings on a per-entry basis
- Added a schema.org link for the Main Entity of Page type you have specified
- Added
seomatic.helper.truncate
andseomatic.helper.truncateOnWord
helper functions for truncating text
- Fixed an issue where you could not disable
humans.txt
orrobots.txt
- Fixed an issue where the
computedType
wasn't saved properly for Global and Content SEO - Fixed an issue with JSON-LD generated for content containers not cascading as intended
- Added the ability to globally disable sitemap rendering
- Preserve Site Identity and Site Creator settings across bundle updates
- Check against
siteType
,siteSubType
andsiteSpecificType
beingnull
on the Site Settings pages - Updated
humans.txt
template to display information from the Creator settings - Separate Identity and Creator Entity Brand fields
- Remove JSON-LD schema.org properties that have just one entry in them (just the
@type
) - Fixed an issue where
hreflang
s could be incorrect
- Documented the Identity and Creator Site Settings variables
- Added
menu
andacceptsReservations
to the FoodEstablishment JSON-LD - Added link
rel=“home”
to the default tag container - Added
seomatic.helper.getLocalizedUrls()
function that will return a list of localized URLs - Added
sameAs
social media URLs to the Identity JSON-LD - Added
og:locale:alternate
Facebook OpenGraph tags
- Fixed an issue where fresh installations were not taken to the Welcome screen
- Replaced old SEOmatic icon in the Asset Bundle
- Fixed an issue where Identity and Creator settings were not properly defaulted from the config files on fresh installations
- Better parsing of the JSON-LD config files
- Added Miscellaneous settings with Google Site Links search settings
- Preserve user settings in the Tracking Scripts when bundles are updated
- Fleshed out the JSON-LD for
mainEntityOfPage
,identity
, andcreator
- Separated the mainEntityOfPage templates off into a partial
- Cleaned up the Identity Settings & Creator Settings pages
- Added a description of JSON-LD Structured Data to the Identity & Creator pages
- Added Main Entity of Page settings on the Global SEO and Content SEO General pages
- Fixed an issue with console requests raising an exception in
addDynamicMetaToContainers()
- Add
errors
display to all settings templates
- Implemented dynamic Identity Settings & Creator Settings pages
- Don't look for
getPathInfo()
during a console request - Fixed an issue switching between sites on the Tracking scripts settings
- Revise how
seoFileLink()
works - Handle eager loaded elements in
TextHelper
- Added colored status indicators on the Content SEO index page that match the colors in the donut chart on the Dashboard
- Added
seomatic.helper.seoFileLink()
to allow setting theX-Robots-Tag
andLink
headers on static files as per Advanced rel="canonical" HTTP Headers - Added a
Link
header for the canonical URL
- Don't display SEO previews if the Section has no URLs
- Refactored the meta bundle update process to preserve user configured meta bundle settings
- Throw a 404 if a sitemap is hit but sitemaps have been disabled for that section
- Exclude section sitemaps from the sitemap index if sitemaps have been disabled for that section
- Reverted incorrect bundle merging
- Added
Schema
helper class & controller in preparation for dynamic schema types displayed in the Control Panel
- Fixed incorrect
moz-transform
vendor prefix that caused the sidebar SEO preview to look weird in FireFox - Fixed a nasty bug that could cause improper merging of config arrays, resulting in an ever-growing column size in the db
- Fixed per-environment rendering of attributes
- Made meta bundle updating non-destructive to existing data
- Added a "Same as Global Site Name Position" setting as the default for the Site Name Position Content SEO settings
- Fixed an issue where the last breadcrumb on the Content SEO
edit-content
page was a 404 - Fixed a caching issue that could result in stale data if you used
seomatic.helper.loadMetadataForUri()
- Don't automatically generate thumbnails for videos in the sitemap
- Changed the Dashboard charts over to gauge charts
- Check whether the
seomatic_metabundles
table exists before installing any even listeners
- Fixed an issue where the caching didn't work properly for multi-sites
- Added a validation rule for
genericAddressCountry
so it saves - Added a validation rules for
renderEnabled
,separatorChar
,displayAnalysisSidebar
anddisplayPreviewSidebar
so you can save the plugin settings. - Added initial Dashboard
- Don't install event listeners until after all plugins have loaded, to ensure db migrations have been run
- Added a migration for older Craft 2.x sites that had SEOmatic installed already, so that SEOmatic for Craft 3 can install its base tables
- Fixed an issue with an incorrect redirect destination after saving a Tracking Scripts setting in the Control Panel
- Optimized the images used in the documentation
- Fixed issues with
: void
on PHP 7.0.x
- Initial beta release