Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Carlos Casalicchio 170 posts 709 karma points
    Jan 18, 2024 @ 22:39
    Carlos Casalicchio
    0

    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: enter image description here

  • Megha 10 posts 80 karma points notactivated
    Feb 15, 2024 @ 09:28
    Megha
    0

    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

  • Carlos Casalicchio 170 posts 709 karma points
    Feb 15, 2024 @ 15:50
    Carlos Casalicchio
    0

    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

  • Carlos Casalicchio 170 posts 709 karma points
    17 days ago
  • Tobias 13 posts 85 karma points
    Mar 12, 2024 @ 10:03
    Tobias
    101

    To add values programmatically to SeoToolkit, you can inject the IMetaFieldsValueService and use the method

    void 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

Please Sign in or register to post replies

Write your reply to:

Draft