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

Anyone good at redirect :P

Discussion in 'XenForo Questions and Support' started by Wuebit, Jun 12, 2011.

  1. Wuebit

    Wuebit Well-Known Member

    I need to redirect root xenforo to sub-domain (apache)
    from
    Animelon.com
    to
    forums.animelon.com

    Cheers
     
  2. borbole

    borbole Well-Known Member

    Create an index.php file in the root and put the following code in it:

    PHP:
    header('Location: http://forums.animelon.com');
     
  3. Wuebit

    Wuebit Well-Known Member

    Hi borbole will that direct index also? I use the index.php you see
    http://animelon.com/
    http://forums.animelon.com/
     
  4. Lu Jia

    Lu Jia Active Member

  5. Wuebit

    Wuebit Well-Known Member

    Aye thought so guess I need someother way :) cheers
     
  6. Lu Jia

    Lu Jia Active Member

    What do you need in this specific case? Maybe I can help you :)
     
  7. Wuebit

    Wuebit Well-Known Member

    everything other than index pointing to a subdomain
     
  8. Peggy

    Peggy Well-Known Member

    ppffffttt I can't redirect myself, let alone anyone else. :rolleyes:
     
    Vodkaholic likes this.
  9. Lu Jia

    Lu Jia Active Member

    do you want animelon.com as your home page and forums.animelon.com as your xenforo root (forums view)?
     
  10. Wuebit

    Wuebit Well-Known Member

    Yes that's the way I have it now have a look might give you a better idea
    everything was just animelon.com before you see so want to redirect all the old links to the new place.
     
  11. Lu Jia

    Lu Jia Active Member

  12. Wuebit

    Wuebit Well-Known Member

  13. Lu Jia

    Lu Jia Active Member

    what's wrong at the moment, it seem works fine
     
  14. Wuebit

    Wuebit Well-Known Member

    What do you mean? I have no redirect in place atm what you are seening at
    animelon.com/threads/site-feedback.35/#post-2766
    http://animelon.com/events/monthly
    Are just "bugs from the homepage"
     
  15. Lu Jia

    Lu Jia Active Member

    mmmh, what do you really need is add a forums before these links?
     
  16. Wuebit

    Wuebit Well-Known Member

    Yes like I said everything but index.
     
  17. Lu Jia

    Lu Jia Active Member

    but index = except for index?
     
  18. Wuebit

    Wuebit Well-Known Member

    yea except index.
     
  19. Lu Jia

    Lu Jia Active Member

    mmmmh, i guess you can put all xenforo to forums directory and include the xenforo root index in the root directory index. I guess it can be a good work around
     
  20. Wuebit

    Wuebit Well-Known Member

    I have no idea what that means. I think you seem to be mistaken
    My xenforo Is in forums.animelon that's it, and it is nowhere else.
    What you are seening on animelon.com is a custom "Single" index.php file (which is calling all xenforo core)
    also as my "xenforo" was animelon.com Before and I am trying to redircet my old "dead" urls from google bing people etc... to the new forums place.
     

Share This Page