Results 1 to 2 of 2

301 Redirect from Domain Folder to Domain

This is a discussion on 301 Redirect from Domain Folder to Domain within the General Discussion forums, part of the vBulletin SEO Discussion category; Hello, how can I 301 redirect from mydomain.com/forum/ to a new domain.com (where the forum is now on main folder)? ...

  1. #1
    Junior Member
    Real Name
    MadCaffeine
    Join Date
    Nov 2007
    Posts
    8
    Liked
    0 times

    Exclamation 301 Redirect from Domain Folder to Domain

    Hello,
    how can I 301 redirect from mydomain.com/forum/

    to a new domain.com
    (where the forum is now on main folder)?

    thanks in advance

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    You should create .htaccess file in mydomain.com/forum/ folder:
    Code:
    RewriteEngine on
    RewriteRule .* http://www.newdomain.com/$1 [L,R=301]
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. Redirect parked domain to primary domain
    By Arkidas in forum General Discussion
    Replies: 9
    Last Post: 03-20-2008, 07:19 PM
  2. redirect domain root to the forum folder
    By RoyMogg in forum URL Rewrite Settings
    Replies: 4
    Last Post: 01-16-2008, 02:32 PM
  3. redirect from www.domain.com/vb to vb.domain.com
    By afthl in forum General Discussion
    Replies: 22
    Last Post: 06-07-2007, 01:25 PM
  4. redirect domain.com/index.php to www.domain.com/
    By LarryEitel in forum Custom Rewrite Rules
    Replies: 4
    Last Post: 07-05-2006, 11:38 AM
  5. Redirect from www.domain.com to domain.com
    By amykhar in forum General Discussion
    Replies: 9
    Last Post: 10-17-2005, 07:39 PM

Posting Permissions

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