Web Redirection

Discussion in 'Web Design' started by S34RCH1, Sep 9, 2016.

  1. S34RCH1

    S34RCH1 Newbie

    Joined:
    Sep 9, 2016
    Messages:
    7
    Likes Received:
    0
    I would like to know how to redirect some domains to a single domain
    eX: i have domainname.com, dnma.com and redfert.com and i want that once some one visits one of this will beredirected to werewe.com
     
  2. Rafel

    Rafel Newbie

    Joined:
    Aug 12, 2016
    Messages:
    4
    Likes Received:
    0
    Gender:
    Male
    redirection uses javascript:)
     
  3. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 21, 2013
    Messages:
    13,696
    Likes Received:
    12,306
    Occupation:
    MACHIN LURNIN
    Location:
    TUVALU
    Home Page:
    Create a .htaccess file on a directory and point all those into that directory root. Then add this line.

    RewriteRule .* http://example.com/ [L,R=301,NC]
     
  4. Aty

    Aty Jr. VIP Jr. VIP

    Joined:
    Jan 27, 2011
    Messages:
    6,067
    Likes Received:
    4,146
    Location:
    your 6 o'clock
    Home Page: