Results 1 to 4 of 4

asking about htaccess Redirect

This is a discussion on asking about htaccess Redirect within the Off-Topic & Chit Chat forums, part of the Focus on Members category; please help me ,i dont know where to ask now.=.= i have 2 domain(domain1 and domain2) , and i want ...

  1. #1
    Junior Member
    Real Name
    DinhChi
    Join Date
    Aug 2007
    Posts
    19
    Liked
    0 times

    asking about htaccess Redirect

    please help me ,i dont know where to ask now.=.=
    i have 2 domain(domain1 and domain2) , and i want domain1 will be redirect to domain2
    ex :
    some1 click url : domain1.com/forumdisplay?f=2 will redirect to domain2.com/forumdisplay?f=2 .
    can someone help me?

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello,

    you should create .htaccess in domain1.com folder:
    Code:
    RewriteEngine on
    RewriteRule (.*) http://www.domain2.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!


  3. #3
    Junior Member
    Real Name
    DinhChi
    Join Date
    Aug 2007
    Posts
    19
    Liked
    0 times
    it works. thx so much.

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    You are welcome!
    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. subdomain redirect with .htaccess
    By eJM in forum General Discussion
    Replies: 0
    Last Post: 10-28-2007, 08:14 AM
  2. .htaccess in forum root w/ exisiting .htaccess?
    By OttoBomb in forum Troubleshooting
    Replies: 5
    Last Post: 07-03-2007, 04:45 PM
  3. .htaccess redirect
    By reefland in forum General Discussion
    Replies: 2
    Last Post: 01-05-2007, 07:12 PM
  4. Redirect via .htaccess
    By reefland in forum General Discussion
    Replies: 2
    Last Post: 11-01-2006, 04:48 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
  •