Copied to clipboard

Flag this post as spam?

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


  • Markus Johansson 1610 posts 4539 karma points
    Apr 11, 2017 @ 13:49
    Markus Johansson
    0

    Will it work with a custom content finder?

    Hi!

    I'm working on a 1:1-land site that uses a ContentFinder similar to this one: https://github.com/jbreuer/1-1-multilingual-example/blob/master/Sources/Umbraco.Extensions/ContentFinders/MultilingualContentFinder.cs

    Would SEO Checker work with a content finder like this where one page shared the same node/id but has different urls depending on lang?

  • Richard Soeteman 3625 posts 11059 karma points MVP
    Apr 11, 2017 @ 13:52
    Richard Soeteman
    0

    Hi Markus,

    Haven't tested this but it needs the context of the page so I am not sure. Only one way to find out Markus :)

    Best,

    Richard

  • Markus Johansson 1610 posts 4539 karma points
    Apr 11, 2017 @ 14:02
    Markus Johansson
    0

    haha =D

  • Jeroen Breuer 4860 posts 12126 karma points MVP 3x admin c-trib
    Apr 11, 2017 @ 14:37
    Jeroen Breuer
    0

    This probably won't work. For example the SEO Checker datatype tries to check the current page, but it doesn't know what culture it should use.

    Also SEO Checker redirects probably won't work because the URL could be different per language and SEO Checker doesn't know what it should redirect too. The redirects that are part of Umbraco 7.5 have the same issue.

    Jeroen

  • Markus Johansson 1610 posts 4539 karma points
    Apr 11, 2017 @ 14:48
    Markus Johansson
    0

    That's what I was thinking as well =/

    Have you seen any other solution to this? How are you doing it?

  • Jeroen Breuer 4860 posts 12126 karma points MVP 3x admin c-trib
    Apr 11, 2017 @ 14:59
    Jeroen Breuer
    0

    There is no other solution for this. Currently I just don't use SEO Checker on projects that use a content finder. The content editors need to manually add redirects if they want to rename something.

    Jeroen

  • Markus Johansson 1610 posts 4539 karma points
    Apr 11, 2017 @ 15:04
    Markus Johansson
    0

    I see, how would you let them do this? Using the build in stuff in core of 7.5 or any package?

    Or did you build your own thing?

    / m

  • Jeroen Breuer 4860 posts 12126 karma points MVP 3x admin c-trib
    Apr 11, 2017 @ 15:07
    Jeroen Breuer
    0

    You could still use SEO Checker for that. It has management for redirects. Just don't use the SEO datatype or try anything else with it.

    Jeroen

  • Markus Johansson 1610 posts 4539 karma points
    Apr 11, 2017 @ 15:10
    Markus Johansson
    0

    Sweet!

    Have you tried it with your 1:1-multi lang thing and Vorto?

    // m

  • Richard Soeteman 3625 posts 11059 karma points MVP
    Apr 11, 2017 @ 15:18
    Richard Soeteman
    0

    Datatype will not work with Vorto. It needs the context of the page.

    Cheers,

    Richard

  • Markus Johansson 1610 posts 4539 karma points
    Apr 11, 2017 @ 21:54
    Markus Johansson
    0

    Hi!

    Thank you all for your help and feedback! Soo to summaries the current state.

    Data Type:

    As Richard said the data type will not work inside Vorto but it will work “on its own” but in this case you almost certainly want different title and meta description for the different language-versions.

    404s:

    Works nice since you can set different 404s for different languages with SEO Checker.

    Redirects:

    Works but it has some limitations. If a URL ends up in the “Inbound link errors”-list you can either choose a content node to redirect to or enter a hard coded URL. The redirect will not care about the language-version of the site since both live on the same “domain” or share the same root node.

    Let’s say I have a broken inbound link for mysite.se/test/test, this will be added a missing link for the relative url /test/test, when hitting mysite.se/test/test the new url will resolve to the Swedish url and when going to mysite.com/test/test it will resolve to the English version thanks to the current language for the hostname that is visited.

    But if you would like to redirect to different nodes depending on the language of the request there is no way to do this as far as I understand?

  • Richard Soeteman 3625 posts 11059 karma points MVP
    Apr 12, 2017 @ 05:52
    Richard Soeteman
    0

    Hi Markus,

    Summary is correct and for your redirect question.In SEOChecker you can specify that it needs to include the Top level domain to lookup relative paths. See general config settings.

    Then you can redirect to different pages based on the top level domain.

    Hope this helps,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft