Is it possible to set the value of meta title and meta description via C#?
I'm working on a project that imports a csv full of Wordpress blog posts, and I need to convert the meta title and description into SEO toolkit compatible data.
In other words, I need to set the SEO value for each blog post in code (programmatically)
I hope this message finds you well. I'm reaching out regarding the compatibility of your SplatDev.Umbraco.Plugins.Backups package with Umbraco v13 and potential upgrade paths.
I've been using your plugin in a project built on Umbraco v8, and I'm exploring the possibility of upgrading to Umbraco v13 to take advantage of its new features and improvements. However, I've encountered compatibility issues with the plugin during the upgrade process.
Could you please provide insights into the compatibility of the SplatDev.Umbraco.Plugins.Backups plugin with Umbraco v13? Are there any plans to release an updated version of the plugin that supports Umbraco v13?
Additionally, I'm interested in understanding any potential upgrade paths or considerations for transitioning from Umbraco v8 to v13 while ensuring compatibility with your plugin. Do you have any recommendations or best practices for upgrading projects that use your plugin to Umbraco v13?
I appreciate any guidance or assistance you can provide on this matter. Thank you for your time and support.
Set meta title and meta description programmatically
Hi there,
Is it possible to set the value of meta title and meta description via C#? I'm working on a project that imports a csv full of Wordpress blog posts, and I need to convert the meta title and description into SEO toolkit compatible data.
In other words, I need to set the SEO value for each blog post in code (programmatically)
Here's a crude attempt:
Hi Carlos,
I hope this message finds you well. I'm reaching out regarding the compatibility of your SplatDev.Umbraco.Plugins.Backups package with Umbraco v13 and potential upgrade paths.
I've been using your plugin in a project built on Umbraco v8, and I'm exploring the possibility of upgrading to Umbraco v13 to take advantage of its new features and improvements. However, I've encountered compatibility issues with the plugin during the upgrade process.
Could you please provide insights into the compatibility of the SplatDev.Umbraco.Plugins.Backups plugin with Umbraco v13? Are there any plans to release an updated version of the plugin that supports Umbraco v13?
Additionally, I'm interested in understanding any potential upgrade paths or considerations for transitioning from Umbraco v8 to v13 while ensuring compatibility with your plugin. Do you have any recommendations or best practices for upgrading projects that use your plugin to Umbraco v13?
I appreciate any guidance or assistance you can provide on this matter. Thank you for your time and support.
Best regards, Megha
Hello Megha,
Thank you for asking this. It's actually in the works. In the next few weeks we should have the Backup plugin ready for v13
v13 has been released! https://www.nuget.org/packages/SplatDev.Umbraco.Plugin.Backups13/
To add values programmatically to SeoToolkit, you can inject the
IMetaFieldsValueService
and use the methodvoid AddValues(int nodeId, Dictionary<string, object> values, string culture = null);
All the keys for the dictionary can be found at
SeoToolkit.Umbraco.MetaFields.Core.Models.SeoService.MetaTagsModel
Hope this helps
is working on a reply...