Support » Networking WordPress » Wildcard forward all posts and pages with few exceptions

  • I want to move my domain from example.com to example.dev and also set a wildcard forward. I use WordPress for blogging, now I want all posts and pages to be moved to the new address but I want some pages to remain accessible with my previous address. For example:

    example.com/post -> example.dev/post
    example.com/post2 -> example.dev/post2
    [all posts be redirected]
    example.com/page1 -> example.dev/page1
    example.com/page2 -> example.dev/page2
    [all pages be redirected]

    Exceptions:
    example.com/pageN -> example.com/pageN (remain Same URL)
    example.dev/pageN -> example.com/pageN (redirected to previous domain)
    example.com/PageX -> accessible from both domains

    I want both URLs to be used on a same WordPress installation, but some URLs (posts and pages) should be previewed on one domain and some on another and some on both, as explained.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Wildcard forward all posts and pages with few exceptions’ is closed to new replies.