Viewing 3 replies - 1 through 3 (of 3 total)
  • The redirect rules need to be added to .htaccess (for example, site dependent) of the other sites, not yours. Do you manage each? If so then it can be done.

    Thread Starter aruback

    (@aruback)

    YES, I have control over all of the domain names that need to be forwarded. I obviously need to point them to the IP address of my server, but can you send me a link or reference on how to forward them all to the appropriate pages using .htaccess?

    Thanks for you help! I appreciate it ??

    Adam

    it is rather simple actually:

    RewriteEngine on
    Redirect 301 https://www.experiencebermuda.com/lodging/ https://hcp.doubledowndev.com/bermuda/accommodations/

    First line just makes sure rewrite is on.
    Second starts with Redirect 301 (space) followed by the url to be redirected
    then another (space) and then the URL to redirect to.

    In the example above these rules go at top of .htaccess file at the site with the url to be redirected (experiencebermuda.com) from.

    If you have multiple url’s add a third line, etc..

    Test 1 first, then do the rest. Note: if you have other redirect method(s) in place elsewhere at host you may be creating too many redirects and get such error.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Forwarding multiple domains to different sections of WP website – possible?’ is closed to new replies.