Support » Plugin: Redirection » Secondary and Tertiary domains mapped to their own pages

  • Resolved chrisrom



    Thank you for an awesome plugin! I’m already using it for a few use cases, it works wonders!

    I have a new redirection need. I need to figure out a way to map a secondary and tertiary domain to a few specific pages in my WordPress installation:

    – (main domain of the WordPress installation)
    – -> should passthrough content of /page2
    – -> should passthrough content of /page3

    I’ve tried the “URL and server” feature, but it doesn’t seem to work. This is the the rule I’ve tried:
    Source URL: /
    Query Parameters: Ignore & pass parameters to the target
    Match: URL and server
    When matched: Pass-through
    Matched Target: /page2

    This is a clean WordPress install, I don’t have any cache plugins etc.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter chrisrom


    Also, I use Cloudflare for all my domains

    Plugin Author John Godley


    The plugin is not designed for the purpose of mapping domains. You may be able to use server rewrites instead

    Thread Starter chrisrom


    Thank you John! After spending some time fiddling with it I started to realize this, thanks for confirming it here.

    I manage to achieve what I want by setting custom HTTP headers on the two domains within Cloudflare; “tagging” all the traffic for the specific domains. Then it was just a matter of creating a few Redirection rules that use the “URL and HTTP header” matching mode, and voilá.

    Works perfectly so far!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.