1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

.htaccess Redirect Masking Help

Discussion in 'HTML & JavaScript' started by dumdum4gumgum, Apr 15, 2009.

  1. dumdum4gumgum

    dumdum4gumgum Power Member

    Joined:
    Oct 16, 2008
    Messages:
    590
    Likes Received:
    343
    Occupation:
    cet, networking,grool,c++
    Location:
    In my world
    Home Page:
    Anyone Know The Code That Will Redirect And Keep The Same Domain name?
     
  2. saadad

    saadad Junior Member

    Joined:
    Feb 25, 2009
    Messages:
    168
    Likes Received:
    22
    Home Page:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^yourdomain*com
    RewriteRule (.*) http*//www*yourdomain*com/$1 [R=301,L]

    this?
     
  3. dumdum4gumgum

    dumdum4gumgum Power Member

    Joined:
    Oct 16, 2008
    Messages:
    590
    Likes Received:
    343
    Occupation:
    cet, networking,grool,c++
    Location:
    In my world
    Home Page:
    i Will Try it Will Post Back ty
     
  4. dumdum4gumgum

    dumdum4gumgum Power Member

    Joined:
    Oct 16, 2008
    Messages:
    590
    Likes Received:
    343
    Occupation:
    cet, networking,grool,c++
    Location:
    In my world
    Home Page:
    This is what i did. It did a Redirect but still should http://allxclubpro.com/2163901/long.htm
    Id like it to show the-all-x-club.com
    RewriteEngine On
    RewriteCond %{HTTP_HOST} the-all-x-club.com
    RewriteRule (.*) http://allxclubpro.com/2163901/long.htm/$1 [R=301,L]
     
  5. dumdum4gumgum

    dumdum4gumgum Power Member

    Joined:
    Oct 16, 2008
    Messages:
    590
    Likes Received:
    343
    Occupation:
    cet, networking,grool,c++
    Location:
    In my world
    Home Page:
    I found a way with index.html useing only this code
    <title></title>
    </head>
    <frameset rows="20,*" frameborder="0" border="0" framespacing="0">
    <frame src="" name="top" marginheight=0 marginwidth=0 leftmargin=1>
    <frame src="Your redirect here" name="main" marginheight=0 marginwidth=0 leftmargin=1>
    </frameset>
    <NOFRAMES>
     
    • Thanks Thanks x 1
  6. badd

    badd Regular Member

    Joined:
    Jan 22, 2008
    Messages:
    360
    Likes Received:
    51
    Occupation:
    Innovator
    Location:
    Earth
    Nice share buddy. Thanks