Help with htaccess mod rewrite - url pattern

Discussion in 'Apache' started by TODMovies, Nov 4, 2009.

  1. #1
    Hi there,

    I have a joomla website that performs various searches.

    The url in the search is always similar for eg

    www.mydomain.com/?option=com_gsearch&q=the+evolution+of+dance&category=video&sa=Search

    or

    www.mydomain.com/?option=com_gsearch&q=moonshine&category=video&sa=Search

    i want to be able to remove the ?option=com_gsearch&

    part of the url.

    so it would read

    www.mydomain.com/q=moonshine&category=video&sa=Search

    is this possible using htaccess

    can someone pleas help me with the code!

    Thanks
     
    TODMovies, Nov 4, 2009 IP
  2. TODMovies

    TODMovies Active Member

    Messages:
    196
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #2
    Yes im aware of that, thanks, but i need some help with the rule?
     
    TODMovies, Nov 5, 2009 IP