1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Subdomain / Redirect question

Discussion in 'Media Gallery Support' started by Ocean44, Jan 30, 2015.

  1. Ocean44

    Ocean44 Member

    I would like my Gallery to be accessible at gallery.domain.com because my old gallery on vB was at that subdomain and there are still incoming links pointed there.

    My gallery is now at forums.domain.com/gallery/ since I have a route filter changing /xengallery to /gallery

    So what I need is for gallery.domain.com to go to forums.domain.com/gallery/
    the problem is with everything I've tried, gallery.domain.com just goes to forums.domain.com


    To set up the gallery.domain.com subdomain, I went into cPanel > Subdomains and set it up with redirection to
    http://forums.domain.com/xengallery/
    Still that goes to the forums index.
    I have also tried setting the redirection to these with the same result:
    http://forums.domain.com/xengallery
    http://forums.domain.com/gallery
    http://forums.domain.com/gallery/

    They all still go right to forums.domain.com NOT the gallery.
    I have waited for propagation and purged my cache.

    How can I set this up?
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    This isn't something I have a direct answer for, unfortunately. It's likely what you're trying to do simply won't work. It's quite an advanced configuration, and not one that usually lends itself to providing much benefit, overall.
     
  3. Ocean44

    Ocean44 Member

    I figured out a way to do this with rewrites in htaccess and fixing a misconfiguration with the subdomain.
    I wasn't trying to set up something new, only trying to direct traffic coming into the old gallery.domain.com subdomain to the current gallery location.
     
    Chris D likes this.
  4. Chris D

    Chris D XenForo Developer Staff Member

    Ah, sorry, I read it differently. Glad you got it sorted, though.
     

Share This Page