Copied to clipboard

Flag this post as spam?

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


  • Jon Ivar Nielsen 24 posts 96 karma points
    Aug 04, 2016 @ 11:34
    Jon Ivar Nielsen
    0

    Need 404 response for certain url's

    Hi

    We just moved an older site to U7 and we need some help telling Google that the old url's are gone. The problem is that the old url's was to default.aspx?id=xxx where xxx is the page id. These url's will not generate a 404 response, but ends up with the main page as this is still a valid url. Is there any way to set up the web.config to filter these url's out and generate a 404 (or 410)?

    Best regards Jon Ivar Nielsen

  • Dennis Adolfi 1082 posts 6449 karma points MVP 6x c-trib
    Aug 04, 2016 @ 11:57
    Dennis Adolfi
    101

    Hi Jon.

    You can download a 301 Url Tracker package, and then configure the different "default.aspx?id=xxx" to redirect to a 404 page not found page, or even better, redirect them to the corresponding new page url with a permanent 301. Google will be very happy!

    https://our.umbraco.org/projects/developer-tools/301-url-tracker/

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Aug 04, 2016 @ 12:09
    Alex Skrypnyk
    0

    Hi Jon,

    First of all do you know about 301 URL Tracker package?

    https://our.umbraco.org/projects/developer-tools/301-url-tracker/

    It helps manage statuses and stuff like that.

  • Jon Ivar Nielsen 24 posts 96 karma points
    Aug 05, 2016 @ 10:11
    Jon Ivar Nielsen
    1

    Thanks, just what I was looking for.

    :o) Jon Ivar

  • Dennis Adolfi 1082 posts 6449 karma points MVP 6x c-trib
    Aug 05, 2016 @ 10:41
    Dennis Adolfi
    0

    Awesome! Glad i could help!! Have a great day!

Please Sign in or register to post replies

Write your reply to:

Draft