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

Redirecting

Discussion in 'Server Configuration and Hosting' started by Connor Smith, May 18, 2014.

  1. Connor Smith

    Connor Smith Active Member

    Hello There,
    Was wondering how I can redirect example.com to example.com/something/this.thing/1234.
    Pretty simple thing, but not sure how to do it :p

    Thanks!
     
  2. Slavik

    Slavik XenForo Moderator Staff Member

  3. Connor Smith

    Connor Smith Active Member

  4. Tracy Perry

    Tracy Perry Well-Known Member

    Looks like a PHP script you would call.

    Are you referring to using a rewrite to redirect via your .htaccess (or nginx rewrite rules)?
     
  5. Connor Smith

    Connor Smith Active Member

    Earm... I have no idea :/
     
  6. Slavik

    Slavik XenForo Moderator Staff Member

    Create an index.php in the location you want to redirect, stick that code in it.

    Obviously im assuming this isnt the same place you have xenforo installed, and its in your /something/ subfolder instead.
     
  7. Connor Smith

    Connor Smith Active Member

    Yeah i have it in the "community" directory, so to be clear, does the index.php go in my root directory ? im guessing it does, but just to be clear.
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

  9. Connor Smith

    Connor Smith Active Member

    Thanks guys <3
     

Share This Page