Copied to clipboard

Flag this post as spam?

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


  • Koen van Ras 49 posts 287 karma points c-trib
    Sep 19, 2018 @ 10:16
    Koen van Ras
    0

    Redirect not working

    Hi,

    I'm using SEO Checker 1.10.4 for a current project. Now I've imported 125 redirects into the redirect manager, but just 123 of the redirects work.

    I have a node with url /about/contactform which I want to redirect to from /contact. I've added the redirect to the manager like so: /contact > /about/contactform. The node /contact is not published but somehow when I go to /contact it gives me a 200 and show's me the homepage of the website, all other redirects do work and return a 302.

    I have no redirects set up in the web.config or .htaccess, the only redirects that exist are in the redirect manager. I also checked the database and it only contains the imported redirects.

    Also if I publish the contact page, it shows me the actual page that I created and doesn't redirect me (200 on home).

    Does anyone have an idea why the contact redirect doesn't work and all the other redirects do work?

  • Richard Soeteman 3625 posts 11059 karma points MVP
    Sep 19, 2018 @ 11:22
    Richard Soeteman
    0

    Hi Koen,

    302 is something SEOChecker is not generating it's always 301. SEOChecker only kicks in on 404's so if something is returning a 200 status code the redirect module is not called. If you set the option "Redirect when node exists" in SEOChecker settings it will always try to redirect. But this can be slower..

    Best,

    Richard

  • Koen van Ras 49 posts 287 karma points c-trib
    Sep 19, 2018 @ 11:24
    Koen van Ras
    0

    Hi Richard,

    Thank you for your reply, though even if the node doesn't exist it still doesn't redirect me.

  • Richard Soeteman 3625 posts 11059 karma points MVP
    Sep 19, 2018 @ 11:25
    Richard Soeteman
    0

    If it's showing a 200 SEOChecker will not kick in.. Maybe a contentfinder or something you are using?

  • Koen van Ras 49 posts 287 karma points c-trib
    Sep 26, 2018 @ 12:18
    Koen van Ras
    0

    There is no particular contentfinder that is redirecting me. Also the pages don't exist anymore since I removed them from the tree and after that removed them from the recycle bin aswell. Checking the redirect when node exists checkbox worked for me, though I think this isn't the right solution. Is it maybe possible that it still finds the page somewhere in the database, and if so do you have any idea where that might be?

  • Richard Soeteman 3625 posts 11059 karma points MVP
    Sep 26, 2018 @ 12:23
    Richard Soeteman
    0

    Hi Koen,

    That is the point, something is telling that the page still exists. Could be multiple things but must be implementation specific. for example If you have a template with the same name that could be used by Umbraco to render the node with that template as alternative template.

  • Kong Yang 11 posts 79 karma points
    Aug 22, 2019 @ 16:26
    Kong Yang
    0

    I am getting a particular redirection error that directs to my error page. The page used to exist but has been deleted. I thought it may be my ContentFinder but it is not. All other redirection that works go through it as well so it puzzles me.

    I deleted the redirect that did not work and re-created in SEOChecker it but it still fails. Any thoughts?

  • Richard Soeteman 3625 posts 11059 karma points MVP
    Aug 23, 2019 @ 05:59
    Richard Soeteman
    0

    Depends on the version but is it logged as inbound link error as well? if so fix it there and it should be good.

    Best,

    Richard

  • Kong Yang 11 posts 79 karma points
    Aug 27, 2019 @ 16:35
    Kong Yang
    0

    I found the root cause of it. It is because I have a template and view with the same name as the redirect. Thank you for pointing me in the right direction.

Please Sign in or register to post replies

Write your reply to:

Draft