will paypal $10 for some help on htaccess

Discussion in 'Site & Server Administration' started by edual200, Mar 15, 2008.

  1. #1
    im setting up dynamic subdomains, at the moment i have just this that works fine but now i want it in subdomains instead of html pages

    RewriteEngine on
    RewriteRule ^(.*)-(.*)-(.*).html$ search.php?q=$1&product=$2&id=$3 [QSA,L]


    so i want somthing like this
    http://item-product-id.mydomain.com

    instead of this
    http://www.mydomain.com/item-product-id.html

    i have already setup the dns thing and the httpd or whatever so i think all i need is the htaccess
     
    edual200, Mar 15, 2008 IP
  2. amazingronit

    amazingronit Well-Known Member

    Messages:
    1,334
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    130
  3. ColorWP.com

    ColorWP.com Notable Member

    Messages:
    3,121
    Likes Received:
    100
    Best Answers:
    1
    Trophy Points:
    270
    #3
    ColorWP.com, Mar 15, 2008 IP
  4. edual200

    edual200 Active Member

    Messages:
    309
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #4
    edual200, Mar 15, 2008 IP
  5. edual200

    edual200 Active Member

    Messages:
    309
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #5
    after trying like a thousand different ways i figured it out and one worked... so topic closed
     
    edual200, Mar 15, 2008 IP
  6. amazingronit

    amazingronit Well-Known Member

    Messages:
    1,334
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    130
    #6
    oh ok. congratulations. but would you like to share what exactly did u do to fix that?
     
    amazingronit, Apr 16, 2008 IP