Copied to clipboard

Flag this post as spam?

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


  • AvihayBit 149 posts 303 karma points
    Apr 08, 2019 @ 20:31
    AvihayBit
    0

    redirect root of subdomain to specific node

    Hi,

    Im checking this package for a client specific needs, before purchasing a license. I'm trying to redirrct a https://subdomain.domain.com to specific node, lets say: https://www.domain.com/specific/node but nothing happens...

    In the old URL I fill / because I cant leave it blank and in the advanced settings I fill subdomain.domain.com, it seems fine in the back office but the redirect doesn't work when I click on the old URL link and getting only the home page for the sub-domain :(

    Second problem found - for some reason old url with ~ replaced with %7e and again - redirect fails...

    Is it possible at all? maybe it has something to do with the license? other "simple" redirects does works...

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Apr 09, 2019 @ 06:21
    Richard Soeteman
    0

    Hi,

    There are two things:

    1. This only works in v2.x where you can redirect to other sites
    2. You need to enable redirect when node exists in general settings. Otherwise it only redirects when a request returns 404

    Hope this helps,

    Richard

  • AvihayBit 149 posts 303 karma points
    Apr 09, 2019 @ 07:57
    AvihayBit
    0

    Thanks Richard,

    1. Im using 2.2.3

    2. Thanks! redirect when node exists solved the first issue. any idea why redirect from /~nodename doesn't work? I'm suspecting the ~ char encoding to %7e fails it...

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Apr 09, 2019 @ 08:00
    Richard Soeteman
    0

    I think the same indeed is it logged as 404? Then you can propably redirect from there.

    Best,

    Richard

  • AvihayBit 149 posts 303 karma points
    Apr 09, 2019 @ 08:14
    AvihayBit
    0

    It is logged as 404 but I can't redirect users that goes directly to the old url https://www.domain.come/~nodename/ anywhere, clicking on the Old URL in the redirect management table link to https://www.domain.come/~nodename/ without trigger any redirect...

Please Sign in or register to post replies

Write your reply to:

Draft