 |
Results from the most recent live auction are here.
20 members in the live chat room. Join Chat!
| |
05-28-2006, 10:38 AM
|
· #1 | | SQLdumpster.com Name: Unknown Location: West Sussex, UK Join Date: Jun 2005
Posts: 543
NP$: 108.00 ( Donate)
| .htaccess Hey- just need a little help with .htaccess. I have urls which are like filename?category=jokes and I just need to change it to filename/jokes/. Thanks |
| |
05-28-2006, 01:07 PM
|
· #2 | | Buy my domains. Name: Dan Join Date: Feb 2006
Posts: 2,801
NP$: 54.00 ( Donate)
| RewriteEngine on
RewriteRule filename\?category=(.*)? filename/$1/
I think you might want to make it category/jokes instead, and to do that just change filename to category |
| |
06-07-2006, 10:52 PM
|
· #3 | | Formerly Array Name: Nick Berlette Location: San Diego, CA Join Date: Feb 2006
Posts: 229
NP$: 139.50 ( Donate)
| Kinda diggin' this up, but that code it wrong. It should be Code:
RewriteEngine On
RewriteRule ^filename/(.*)(/?)$ filename.php?category=$1
You had it backwards  |
| |
06-08-2006, 06:33 AM
|
· #4 | | Buy my domains. Name: Dan Join Date: Feb 2006
Posts: 2,801
NP$: 54.00 ( Donate)
| Oops. :X |
| |
06-09-2006, 08:54 AM
|
· #5 | | SQLdumpster.com Name: Unknown Location: West Sussex, UK Join Date: Jun 2005
Posts: 543
NP$: 108.00 ( Donate)
| Thanks for the help  |
| |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |