• Resolved dmpub

    (@dmpub)


    Hi – love your plugin and the very high quality of its functionality. Thank you.

    I’ve an issue – caused by my lack of comprehension, I’m sure. I have the following redirect set up

    Source = /(.*) (implied using mydomain.com)
    Match = URL only
    When matched = redirect to url with 302 code
    Target = https://old.mydomain.com/$1 (ie now a different subdomain of mydomain.com)

    It works as expected and perfectly. Thank you again.

    BUT…..

    What I really want to do is to change the “When matched” parameter to “Pass-through”. When I change that parameter (but nothing else), and then try visiting an original url, nothing happens. The browser just shows a blank screen but doesn’t load the page.

    Any thoughts on this?

    Many tks

    David.

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

    (@johnny5)

    Why do you want to use a pass through? The target URL will need to exist.

    Thread Starter dmpub

    (@dmpub)

    Hi, John

    Thank you for replying.

    Why I want to use a passthrough : I have a website, thetravelinsider.info. I want to slowly convert it from the format and coding that was used to develop it, originally in the early 2000s, to a new response layout etc, which I’ll do in WordPress. But doing this represents a huge amount of effort and work, and so it is my plan to slowly work through pages, starting with the most popular ones. I’ll gradually switch from redirecting everything to redirecting, selectively, some directories but not others, and so on.

    Accordingly, I have established a new WordPress site, thetravelinsider.info, and renamed the original site to old.thetravelinsider.info. All requests to the site now get redirected to old.thetravelinsider.info with a 302 response.

    But I’d like to preserve the main “thetravelinsider.info” identity rather than confuse people with old.thetravelinsider.info, and have links slowly start to appear to pages with the old subdomain in them. Hence the thought of passing through.

    Target urls existing : Not sure I understand your point here. All valid requests for existing thetravelinsider.info pages now exist on old.thetravelinsider.info

    I hope this helps explain what I’m trying to do and the problem I’m encountering better.

    Many thanks

    David.

    Plugin Author John Godley

    (@johnny5)

    A pass through isn’t really a redirect. It causes your server to make a secondary request to the target URL and return whatever content that request makes – the request is passed through to another page.

    If your server returns an empty page then Redirection will return that empty page. I can’t say why your server would return an empty page, but it’s something you’ll need to look into. You could, for example, check the access logs to see if the request is making it to the server.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pass Through Problem’ is closed to new replies.