.htaccess Question

Discussion in 'Apache' started by nitrogen, Mar 13, 2010.

  1. #1
    On my site I have a database of quotes and each quote is pulled by a query and the URLs look like this:
    "domain.com/quotes/?1"

    URLs that display the same page (in case it helps):
    "domain.com/quotes/index.php?1"
    "domain.com/quotes/?=1"
    "domain.com/quotes/index.php?=1"

    How can I use .htaccess to get "/quotes/1" to display "/quotes/?1"?
     
    nitrogen, Mar 13, 2010 IP