Results 1 to 7 of 7

301 Redirect from root to /forums!

This is a discussion on 301 Redirect from root to /forums! within the General Discussion forums, part of the vBulletin SEO Discussion category; On my site I have a script as below in the root in index.php PHP Code: <? Header (  "HTTP/1.1 301 Moved Permanently"  ...

  1. #1
    Member
    Real Name
    Nick Harper
    Join Date
    Oct 2008
    Posts
    48
    Liked
    0 times

    301 Redirect from root to /forums!

    On my site I have a script as below in the root in index.php

    PHP Code:
    <?
    Header
    "HTTP/1.1 301 Moved Permanently" );
    Header"Location: http://www.socceram.net/forums" );
    ?>
    Is this a good idea until I can get a mainpage made?

    Thanks

  2. #2
    Senior Member
    Real Name
    Joseph Ward
    Join Date
    Jun 2005
    Posts
    23,845
    Liked
    36 times
    Blog Entries
    9
    That should be ok for the time being. What is your time frame for adding a homepage? What software do you plan to use?

  3. #3
    Senior Member webwizzy's Avatar
    Real Name
    Vinayak
    Join Date
    Aug 2008
    Location
    India
    Posts
    257
    Liked
    0 times
    Hii,

    As you said, it is okay for the time being. May I know whats the best way to achieve the same thing.

    Thanks

  4. #4
    Member
    Real Name
    Nick Harper
    Join Date
    Oct 2008
    Posts
    48
    Liked
    0 times
    Quote Originally Posted by Joe Ward View Post
    That should be ok for the time being. What is your time frame for adding a homepage? What software do you plan to use?
    I might do it by hand but vbAdvanced may be an option but I am not sure yet to be honest. Hope to have it up within 2 weeks.

  5. #5
    Senior Member webwizzy's Avatar
    Real Name
    Vinayak
    Join Date
    Aug 2008
    Location
    India
    Posts
    257
    Liked
    0 times
    Quote Originally Posted by webwizzy View Post
    Hii,

    As you said, it is okay for the time being. May I know whats the best way to achieve the same thing.

    Thanks
    anyone ?

  6. #6
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    You can directly redirect all root requests to your forum via .htaccess. If you are not going to use a portal or any cms system that is the option you need to follow.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  7. #7
    Senior Member
    Real Name
    dave
    Join Date
    Jun 2006
    Posts
    348
    Liked
    0 times
    Blog Entries
    1
    If you're only redirecting for a temproary amount of time like 2-3 weeks, wouldn't a 302 redirect be better?

    Or would it not matter?

Similar Threads

  1. RewriteRule from root/forums/ to root/
    By Xtensified in forum Custom Rewrite Rules
    Replies: 2
    Last Post: 03-26-2008, 08:14 PM
  2. redirect from root to subdomain seo?
    By Basim in forum Pre-Sales Questions
    Replies: 0
    Last Post: 11-18-2007, 04:45 PM
  3. Redirect from domain root to forums
    By Neal in forum URL Rewrite Settings
    Replies: 2
    Last Post: 07-26-2007, 11:03 AM
  4. How to redirect ROOT to a subfolder?
    By Hemanth in forum URL Rewrite Settings
    Replies: 4
    Last Post: 06-01-2007, 04:32 PM
  5. Replies: 1
    Last Post: 08-15-2005, 03:30 AM

Posting Permissions

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