Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Redirection

  1. #1
    Join Date
    Jun 2006
    Posts
    6

    Default Redirection

    Currently my forum address is 'www.mydomain.net/forums' how can I make it so it will be 'www.forums.mydomain.net' instead?

    Thanks in advance.

  2. #2
    Join Date
    Mar 2006
    Location
    Tulsa
    Posts
    121

    Default

    ummm... I don't think you can do that. You'd have to drop the www part off and have it be 'forums.mydomain.net'. You'll have to create that as a subdomain though, if you haven't already.
    leave my elevator... alone.

    between something and nothing

  3. #3
    Join Date
    Jun 2006
    Posts
    6

    Default

    What do I do after I create the subdomain?

  4. #4
    Join Date
    Mar 2006
    Location
    Tulsa
    Posts
    121

    Default

    Quote Originally Posted by inu
    What do I do after I create the subdomain?
    I'm not sure I understand this question. Are you wondering about where files go or something like that? Or, are you wondering how long it takes for it to become fully active? Gennerally it takes a few hours to become active.
    leave my elevator... alone.

    between something and nothing

  5. #5
    Join Date
    Jun 2006
    Posts
    6

    Default

    No I am asking how I can change my forum address from mydomain.net/forums to forums.mydomain.net after I have created the subdomain.

  6. #6
    Join Date
    Mar 2006
    Location
    Tulsa
    Posts
    121

    Default

    Quote Originally Posted by inu
    No I am asking how I can change my forum address from mydomain.net/forums to forums.mydomain.net after I have created the subdomain.
    Well, if you've already created the subdomain it should be accessable through 'forums.mydomain.net'. You might want to check your file and folder structure to make sure everything is in its right place.

    The thing is though your subdomains are always accessable by use of the '/' from your main domain. If you create the subdomain 'ilikecookies.mydomain.net' it can also be accessed by typing in 'mydomain.net/ilikecookies'. You can not make the latter go away because the subdomain is a folder within your public_html folder.
    leave my elevator... alone.

    between something and nothing

  7. #7
    Join Date
    Mar 2006
    Location
    joisey
    Posts
    442

    Default

    Think add-on domains. Sub-domains behave the same way. Once you create the sub-domain, an new folder will appear in your public_html directory with that exact name. So, if you already have that 'forums' folder in there and make the sub-domain with that same name, they will clashing and prevent it from working properly.. -I believe.

    You can try this but if something goes wrong I take no responsibility. If you don't feel comfortable with this then call tech and ask them to help you out.

    1. Rename your forums folder. -the one with all the files.
    2. delete the subdomain and then recreate the sub-domain as 'forums'.
    3. At this point you'll see the new directory named 'forums' in your public_html space. It will be mostly empty. Just a few invisible files to keep track of the domain.
    4. From there copy all the files over from that forum directory you renamed earlier to the new 'forums' directory.

    One thing to watch out for is invisible files. If your forum contains an .htaccess file then you should copy that too.

    It's convoluted but it should work.

    Good luck.
    {0,o}
    |)__)
    -"-"-
    On permanent hiatus...

  8. #8
    Join Date
    Jun 2006
    Posts
    25

    Default

    One other thing would be to add something like this to your .htaccess file.

    redirect 301 http://www.mydomain.net/forums forums.mydomain.net
    redirect 301 http://mydomain.net/forums forums.mydomain.net

    If you have any pages ranked in google this will allow you to make the switch without losing any. It will also allow users to get to where they want as well, without having to deal with any 404 pages.

    I know this thread is a bit old, but figured if someone else was looking through it they could use the info.

  9. #9
    Join Date
    Jul 2006
    Posts
    29

    Question

    Quote Originally Posted by Vladd44
    One other thing would be to add something like this to your .htaccess file.

    redirect 301 http://www.mydomain.net/forums forums.mydomain.net
    redirect 301 http://mydomain.net/forums forums.mydomain.net

    If you have any pages ranked in google this will allow you to make the switch without losing any. It will also allow users to get to where they want as well, without having to deal with any 404 pages.

    I know this thread is a bit old, but figured if someone else was looking through it they could use the info.
    Hi Vlad,

    Would this redirect go in a .htaccess file in the /forums folder or in the root of the mydomain folder?

    Cheers!!!!!!

    Paul.

  10. #10
    Join Date
    Sep 2006
    Posts
    19

    Default

    Quote Originally Posted by Vladd44
    I know this thread is a bit old, but figured if someone else was looking through it they could use the info.
    You are quite right. I was looking for it. Like the previous poster, I would like to know exactly where and how to place the items.

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •