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

help in .htaccess

Discussion in 'Black Hat SEO' started by bakry3d, Mar 18, 2009.

  1. bakry3d

    bakry3d Newbie

    Joined:
    Mar 17, 2009
    Messages:
    20
    Likes Received:
    0
    hello evry one

    i have sites dir script but i want change site-(.*)\.html$

    to site name

    Code:
    ex : [URL="http://www.domain.com/dir/black-hot"]www.domain.com/dir/black-hot[/URL]
    #SWITCH mod_rewrite ON
    Options +FollowSymLinks
    RewriteEngine on
    #OUR ABOVE CODE

    RewriteRule site-(.*)\.html$ site.php?id=$1


    thanks
     
  2. the_demon

    the_demon Jr. Executive VIP

    Joined:
    Nov 23, 2008
    Messages:
    3,177
    Likes Received:
    1,563
    Occupation:
    Search Engine Marketing
    Location:
    The Internet
    you didn't even ask a question?

    ...be more specific on what exactly you need help with. You just said you have a website and posted some bits of code without saying what your trying to do.
     
  3. bakry3d

    bakry3d Newbie

    Joined:
    Mar 17, 2009
    Messages:
    20
    Likes Received:
    0
    i have a script sites dir arabic

    in .htaccess

    #SWITCH mod_rewrite ON
    Options +FollowSymLinks
    RewriteEngine on
    #OUR ABOVE CODE

    RewriteRule site-(.*)\.html$ site.php?id=$1


    now it's show site-id 1 or 2

    i want show site name in link
     
  4. *zap*

    *zap* Regular Member

    Joined:
    Apr 7, 2008
    Messages:
    349
    Likes Received:
    98
    Occupation:
    none
    Location:
    Uk
    Reading between the lines I think he is trying to setup folders as subdomains

    if so i also believe bakry will need his host to help with this