Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author John Godley

    (@johnny5)

    What domain are you running the plugin on?

    Thread Starter ovangmbh

    (@ovangmbh)

    I think its not a matter of the domain.

    If you enter
    Source URL: http://www.domain.com/test.html
    Target URL: /new/test

    It will be:
    Source URL: /test.html
    Target URL: /new/test

    Plugin Author John Godley

    (@johnny5)

    Sure, but Redirection only works on the domain it is installed on. If you enter another domain then it makes no sense as it’s not installed on that domain.

    Thread Starter ovangmbh

    (@ovangmbh)

    Yes thats clear. But when e.g. two old domains will be unified in one new domain, the redirect should work anyway.

    olddomain1.com/test.html => newdomain.com/new/test1
    olddomain2.com/test.html => newdomain.com/new/test2

    Is that impossible with your plugin? Why the domain is removed after entering?

    • This reply was modified 8 years, 10 months ago by ovangmbh.
    Plugin Author John Godley

    (@johnny5)

    If by unified do you mean that you are going to have both domain names pointing at the same WP blog? If that’s the case then you don’t need to create a redirect for each one. Redirection works with relative URLs. If you create a redirect for ‘/test.html’ then that will work regardless of which domain its for.

    Thread Starter ovangmbh

    (@ovangmbh)

    Yes, two domains pointing to the same blog. The problem is now, that the two domains have the SAME relative url “test.html”, which should redirect to different targets like in this example:

    olddomain1.com/test.html => newdomain.com/new/test1
    olddomain2.com/test.html => newdomain.com/new/test2

    The problem is, that when I enter the full domain in the field “Source URL”, it crops the domain and just leaves the relative URL.

    Plugin Author John Godley

    (@johnny5)

    The plugin isn’t currently designed to work like that. There’s a feature request tracked here which sounds similar https://github.com/johngodley/redirection/issues/112

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Domain auto-removed?’ is closed to new replies.